On 2015-02-09 20:51:55 +0100, Vincent Lefevre wrote:
> On 2015-02-09 17:34:07 +0000, Alex Valavanis wrote:
> > The upstream developers believe this bug was fixed upstream sometime
> > before 0.48.3.1-1. Please feel free to reopen if it's still present in
> > more recent versions.
> 
> I started to write that I could no longer reproduce the bug... until
> I remembered that font config could have some effect, which was
> confirmed when I looked at fonts used in the generated PDF file.
> 
> If I use
> 
> <alias binding="same">
>   <family>Helvetica</family>
>   <prefer>
>     <family>Arial</family>
>   </prefer>
> </alias>
> 
> in my ~/.config/fontconfig/fonts.conf file, then everything is fine.
> But if I do not use this, then the spacing is wrong when I open the
> SVG file in inkscape.
[...]

I cannot reproduce the bug on a new machine with inkscape 0.91-12,
i.e. the SVG file looks fine in inkscape, whether I use my
~/.config/fontconfig/fonts.conf file or not.

> Note: I initially used the above code to avoid bitmap fonts. Indeed,
> without the above code:
> 
> $ fc-match Helvetica
> helvR12-ISO8859-1.pcf.gz: "Helvetica" "Regular"
> 
> and with the above code:
> 
> $ fc-match Helvetica
> Arial.ttf: "Arial" "Normal"

In case this matters, I now have:

$ fc-match Helvetica
texgyreheros-regular.otf: "TeX Gyre Heros" "Regular"

If I remove the fonts-texgyre package, I get:

$ fc-match Helvetica
qhvr.pfb: "TeXGyreHeros" "Regular"

and the SVG file is still OK in inkscape.

So, either this has been fixed in inkscape, or something significant
has changed on the system (e.g. in fontconfig). I suppose that this
bug should be closed.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to