[Libreoffice-bugs] [Bug 107700] Some font weights names not being translated in UI

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 5 20:14:36 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=107700

--- Comment #4 from Gabor Kelemen <kelemeng at ubuntu.com> ---
I did a bit of research among the default fonts LO ships.
Found that there are quite a few style names coming from these that are not
translated on the UI. The fonts and their untranslated style names are: 

DejaVuSerifCondensed; DejaVuSansCondensed
"Condensed"

DejaVuSerifCondensed
"Condensed Italic"

DejaVuSerifCondensed, DejaVuSansCondensed
"Condensed Bold"

DejaVuSerifCondensed
"Condensed Bold Italic"

DejaVuSans, SourceCodePro, SourceSansPro
"ExtraLight"

SourceSansPro, SourceCodePro, 
"ExtraLight Italic"

SourceSansPro, LinLibertine, SourceSansPro
"Semibold Italic"

SourceSansPro, LinLibertine, SourceSansPro
"Semibold"

SourceSansPro, SourceCodePro
"Light Italic"

SourceCodePro, ExtraLinBiolinum, ExtraLinLibertine
"Medium"

SourceCodePro
"Medium Italic"

DejaVuSansMono, DejaVuSansCondensed, DejaVuSans
"Oblique"

DejaVuSansMono, DejaVuSansCondensed, 
"Bold Oblique"

DejaVuSansCondensed-Oblique
"Condensed Oblique"

DejaVuSansCondensed-BoldOblique
"Condensed Bold Oblique"

DejaVuSansCondensed, DejaVuSans, DejaVuSerifCondensed, DejaVuSansMono,
DejaVuSerif
"Book"

The command I used to query these was: 
$ for i in $(find ./workdir/UnpackedTarball/font_* -name "*.ttf"  ); do echo
$i; fc-query $i | grep style: ; done

Now adding these strings is rather straightforward in
http://opengrok.libreoffice.org/xref/core/svtools/source/control/ctrltool.cxx

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170605/e0cac256/attachment.html>


More information about the Libreoffice-bugs mailing list