Just following up on comment 42, I assume the equivalent to be done in LibreOffice at convertWeight() in fontmanager.cxx:
http://opengrok.libreoffice.org/xref/core/vcl/generic/fontmanager/fontconfig.cxx#428
which maps:
LibreOffice weight fontconfig weight value WEIGHT_THIN FC_WEIGHT_THIN <=0 WEIGHT_ULTRALIGHT FC_WEIGHT_ULTRALIGHT/FC_WEIGHT_EXTALIGHT <=40 FC_WEIGHT_LIGHT <=50 WEIGHT_LIGHT FC_WEIGHT_BOOK <=75 WEIGHT_SEMILIGHT FC_WEIGHT_REGULAR/FC_WEIGHT_NORMAL <=80 WEIGHT_NORMAL FC_WEIGHT_MEDIUM <=100 WEIGHT_MEDIUM FC_WEIGHT_DEMIBOLD/FC_WEIGHT_SEMIBOLD <=180 WEIGHT_SEMIBOLD FC_WEIGHT_BOLD <=200 WEIGHT_BOLD FC_WEIGHT_EXTRABOLD/FC_WEIGHT_ULTRABOLD <=205 FC_WEIGHT_BLACK/FC_WEIGHT_HEAVY <=210 WEIGHT_BLACK FC_WEIGHT_EXTRABLACK/FC_WEIGHT_EXTRAHEAVY <=215
Where do the Ubuntu fonts fall in that scale? I will try to testload the Ubuntu font in a debug build of LibreOffice, to see what http://opengrok.libreoffice.org/xref/core/vcl/generic/fontmanager/fontconfig.cxx#545 says about it.
Just following up on comment 42, I assume the equivalent to be done in LibreOffice at convertWeight() in fontmanager.cxx:
http:// opengrok. libreoffice. org/xref/ core/vcl/ generic/ fontmanager/ fontconfig. cxx#428
which maps:
LibreOffice weight fontconfig weight value ULTRALIGHT/ FC_WEIGHT_ EXTALIGHT <=40
FC_WEIGHT_ LIGHT <=50 REGULAR/ FC_WEIGHT_ NORMAL <=80 DEMIBOLD/ FC_WEIGHT_ SEMIBOLD <=180 EXTRABOLD/ FC_WEIGHT_ ULTRABOLD <=205
FC_WEIGHT_ BLACK/FC_ WEIGHT_ HEAVY <=210 EXTRABLACK/ FC_WEIGHT_ EXTRAHEAVY <=215
WEIGHT_THIN FC_WEIGHT_THIN <=0
WEIGHT_ULTRALIGHT FC_WEIGHT_
WEIGHT_LIGHT FC_WEIGHT_BOOK <=75
WEIGHT_SEMILIGHT FC_WEIGHT_
WEIGHT_NORMAL FC_WEIGHT_MEDIUM <=100
WEIGHT_MEDIUM FC_WEIGHT_
WEIGHT_SEMIBOLD FC_WEIGHT_BOLD <=200
WEIGHT_BOLD FC_WEIGHT_
WEIGHT_BLACK FC_WEIGHT_
Where do the Ubuntu fonts fall in that scale? opengrok. libreoffice. org/xref/ core/vcl/ generic/ fontmanager/ fontconfig. cxx#545 says about it.
I will try to testload the Ubuntu font in a debug build of LibreOffice, to see what http://