You are not logged in.

#1 2016-01-19 20:15:25

STaRDoGG
Member
Registered: 2016-01-01
Posts: 6

Bug in freetype2 2.6.2-1?

Hi,

I'm creating a simple graph with graphviz and export it to a pdf file. When viewing this pdf with evince, the node labels cannot be displayed. The log of evince contains the very descriptive error message "some font thing failed" multiple times. After downgrading freetype from 2.6.2-1 to 2.6.1-1, the fonts can be displayed succesfully. I'm not sure if this is really a freetype2 problem, which is why I don't want to file a bug report at the moment. Here is some trouble shooting information to reproduce the problem (minimal arch installation to pin down the problem):

Explicitly installed packages:

base
base-devel
evince
gptfdisk
graphviz
i3
rxvt-unicode
syslinux
xorg-server
xorg-xinit

test.dot:

graph {
  a -- b;
}

Compiling the dot file:

$ dot -Tpdf test.dot -o test.pdf -v
dot - graphviz version 2.38.0 (20140413.2041)
Using render: cairo:cairo
Using device: pdf:cairo:cairo
libdir = "/usr/lib/graphviz"
Activated plugin library: libgvplugin_dot_layout.so.6
Using layout: dot:dot_layout
The plugin configuration file:
	/usr/lib/graphviz/config6
		was successfully loaded.
    render	:  cairo dot fig gd map pic pov ps svg tk vml vrml xdot
    layout	:  circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
    textlayout	:  textlayout
    device	:  bmp canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gtk gv ico imap imap_np ismap jpe jpeg jpg pdf pic plain plain-ext png pov ps ps2 svg svgz tif tiff tk vml vmlz vrml wbmp x11 xdot xdot1.2 xdot1.4 xlib
    loadimage	:  (lib) bmp eps gd gd2 gif ico jpe jpeg jpg png ps svg xbm
pack info:
  mode   undefined
  size   0
  flags  0
  margin 8
pack info:
  mode   node
  size   0
  flags  0
fontname: "Times-Roman" resolved to: (ps:pango  Nimbus Roman No9 L,  REGULAR) (PangoCairoFcFont) "Nimbus Roman No9 L, Regular" /usr/share/fonts/Type1/n021003l.pfb
network simplex:  2 nodes 1 edges maxiter=2147483647 balance=1
network simplex: 2 nodes 1 edges 0 iter 0.00 sec
Maxrank = 1, minrank = 0
mincross: pass 0 iter 0 trying 0 cur_cross 0 best_cross 0
mincross %3: 0 crossings, 0.00 secs.
network simplex:  3 nodes 2 edges maxiter=2147483647 balance=2
network simplex: 3 nodes 2 edges 0 iter 0.00 sec
routesplines: 1 edges, 3 boxes 0.00 sec
Using render: cairo:cairo
Using device: pdf:cairo:cairo
gvRenderJobs %3: 0.00 secs.

Downgrading freetype2 (remove url tags added by FluxBB):

$ curl [url]https://archive.archlinux.org/packages/f/freetype2/freetype2-2.6.1-1-x86_64.pkg.tar.xz[/url] > /tmp/freetype2.pkg.tar.xz
$ pacman -U /tmp/freetype2.pkg.tar.xz

As mentioned before, after downgrading everything is fine, evince can display all the node labels without any problem and I cannot see an error message indicating that "some font thing failed". Can anybody confirm this? Is this a freetype2 bug?

Best
STaRDoGG

Last edited by STaRDoGG (2016-01-19 20:31:04)

Offline

Board footer

Powered by FluxBB