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

--- Comment #6 from Khaled Hosny <khaledho...@eglug.org> ---
(In reply to Khaled Hosny from comment #5)
> (In reply to V Stuart Foote from comment #4)
> > Seems we directly scale the selection or sample text to compose the preview
> > for rendering in the dialog
> > 
> > http://opengrok.libreoffice.org/xref/core/svx/source/dialog/fntctrl.cxx#98
> > http://opengrok.libreoffice.org/xref/core/svx/source/dialog/fntctrl.cxx#706
> 
> Oh, that is just broken! Setting font width means “scale the text
> horizontally by the font width / font height” not ”set text to fit in this
> width”. I blame the odd choice for naming, it should have been X scale and Y
> scale not width and height.

Reading the code above again, I’m not sure it does what I thought it is doing.

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

Reply via email to