Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


FWIW, as it came up as a question in the main track FOSDEM LibreOffice
talk, in vcl/generic/glyphs/gcach_layout.cxx see IcuLayoutEngine::layout
and...
if (rArgs.mnFlags & SAL_LAYOUT_ENABLE_LIGATURES)
    nLayoutFlags |= LayoutEngine::kTypoFlagLiga;
so ligatures are disabled by default unless SAL_LAYOUT_ENABLE_LIGATURES
is enabled, and SAL_LAYOUT_ENABLE_LIGATURES is only set if
TEXT_LAYOUT_ENABLE_LIGATURES is set on the outputdevice, and that
doesn't happen anywhere as of yet :-(

It would be no major problem to e.g. bubble up allowing those ligatures
to be set explicitly via the UI, or e.g. defaulted on via a new
compatibility flag for new docs, but the last time I played around with
it I ran into the snag that with our current Linux rendering stack via
cairo we get the unfortunate visual effect that ligatures appear bold in
Calibri, etc.

Here's a screenshot of gedit which renders for me today like we would do
if we enabled ligatures in above code.
https://bugzilla.redhat.com/attachment.cgi?id=613610 
from https://bugzilla.redhat.com/show_bug.cgi?id=857860

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.