https://bugs.freedesktop.org/show_bug.cgi?id=38090

Michael Stahl <mst...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caol...@redhat.com

--- Comment #11 from Michael Stahl <mst...@redhat.com> ---
so the mysterious VCL font cache will return a font with
maSearchName = "waree" and mnLineHeight 3592 for this one:

p *rFont.mpImplFont
$2 = {
  mnRefCount = 5, 
  maFamilyName = "TH SarabunPSK", 
  maStyleName = "", 
  maSize = Size = {
    width = 0,
    height = 360
  }, 
  maColor = rgba(255, 255, 255, 255), 
  maFillColor = rgba(255, 255, 255, 255), 
  meCharSet = 76, 
  meLanguage = 1054, 
  meCJKLanguage = 2052, 
  meFamily = FAMILY_SWISS, 
  mePitch = PITCH_VARIABLE, 
  meAlign = ALIGN_BASELINE, 
  meWeight = WEIGHT_NORMAL, 
  meWidthType = WIDTH_DONTKNOW, 
  meItalic = ITALIC_NONE, 
  meUnderline = UNDERLINE_NONE, 
  meOverline = UNDERLINE_NONE, 
  meStrikeout = STRIKEOUT_NONE, 
  meRelief = RELIEF_NONE, 
  meEmphasisMark = 0, 
  mnOrientation = 0, 
  mnKerning = 1 '\001', 
  mbWordLine = 0 '\000', 
  mbOutline = 0 '\000', 
  mbConfigLookup = 0 '\000', 
  mbShadow = 0 '\000', 
  mbVertical = 0 '\000', 
  mbTransparent = 1 '\001'
}

but with the following parameter it returns maSearchName = "dejavusans" and
mnLineHeight 2514:

p *rFont.mpImplFont
$5 = {
  mnRefCount = 5, 
  maFamilyName = "TH SarabunPSK", 
  maStyleName = "", 
  maSize = Size = {
    width = 0,
    height = 360
  }, 
  maColor = rgba(255, 255, 255, 255), 
  maFillColor = rgba(255, 255, 255, 255), 
  meCharSet = 76, 
  meLanguage = 1033, 
  meCJKLanguage = 2052, 
  meFamily = FAMILY_SWISS, 
  mePitch = PITCH_VARIABLE, 
  meAlign = ALIGN_BASELINE, 
  meWeight = WEIGHT_NORMAL, 
  meWidthType = WIDTH_DONTKNOW, 
  meItalic = ITALIC_NONE, 
  meUnderline = UNDERLINE_NONE, 
  meOverline = UNDERLINE_NONE, 
  meStrikeout = STRIKEOUT_NONE, 
  meRelief = RELIEF_NONE, 
  meEmphasisMark = 0, 
  mnOrientation = 0, 
  mnKerning = 1 '\001', 
  mbWordLine = 0 '\000', 
  mbOutline = 0 '\000', 
  mbConfigLookup = 0 '\000', 
  mbShadow = 0 '\000', 
  mbVertical = 0 '\000', 
  mbTransparent = 1 '\001'
}

... where the only difference appears to be meLanguage?

the different mnLineHeight ultimately causes the different formatting...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to