Skip to content

Draft: quickreference: Move Wilber

Anders Jonsson requested to merge ajonsson/gimp-help:move-wilber into master

This commit is a partial solution, so I leave it to you if you take it or find a better solution :-)

The quickreference title text continues behind Wilber for long titles, as in the French or Polish translations. Seen for example in http://testing.docs.gimp.org/2.10/pdf/gimp-keys-pl.pdf

This change moves Wilber enough to fix the problem on my local builds. However, things are never quite that easy, right? ;-)

The PDF:s created by the testing.docs.gimp.org has even larger title font than my local build. Affected languages on the website: ca, da, el, es, fr, pl, pt_BR

One possible reason is a missing font. Looking at quickreference/stylesheets/keys-svg.xsl it expects the font family Bitstream Vera Sans. That font is however not used in website PDF:s. Example below for running pdffonts for my local Swedish PDF and the website PDF.

anders@home:~/git/gnome/gimp-help/quickreference/pdf$ pdffonts gimp-keys-sv.pdf 
name                                 type              encoding         emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
UOQDAH+LiberationSerif               TrueType          WinAnsi          yes yes yes      6  0
TMSAWF+BitstreamVeraSans-Bold        TrueType          WinAnsi          yes yes yes     24  0
AOIFPJ+BitstreamVeraSans-Oblique     TrueType          WinAnsi          yes yes yes     27  0
SFVXGZ+BitstreamVeraSans-Roman       TrueType          WinAnsi          yes yes yes     30  0
XPBLMH+BitstreamVeraSans-BoldOblique TrueType          WinAnsi          yes yes yes    131  0
anders@home:~/git/gnome/gimp-help/quickreference/pdf$ pdffonts gimp-keys-sv-web.pdf
name                                 type              encoding         emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
PKJZIP+DejaVuSerif                   TrueType          WinAnsi          yes yes yes      6  0
GATDLO+DejaVuSans-Bold               TrueType          WinAnsi          yes yes yes     24  0
OQRWNZ+DejaVuSans                    TrueType          WinAnsi          yes yes yes     27  0

It might be worth testing adding Bitstream Vera Sans to the build environment to see if that shrinks the text. If that works, it should be enough for all languages together with the Wilber move commit.

Edited by Anders Jonsson

Merge request reports