[Libreoffice-bugs] [Bug 131977] nodes for sm Attributes, e.g. hat, circle, are not aligned correctly with the nodes of variables which are in italic form by default--nodes for diacritics need to be positioned to match the variables

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Apr 12 02:58:12 UTC 2020


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

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Diacritic (especially hat)  |nodes for sm Attributes,
                   |is misaligned when combined |e.g. hat, circle, are not
                   |with small Greek characters |aligned correctly with the
                   |                            |nodes of variables which
                   |                            |are in italic form by
                   |                            |default--nodes for
                   |                            |diacritics need to be
                   |                            |positioned to match the
                   |                            |variables

--- Comment #4 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to V Stuart Foote from comment #2)
> These are not individual sm nodes, rather, these are manifestation of poor
> font metrics with the projects OpenSymbol font.
> 

Actually, I was incorrect. The 'hat' and 'circle' are sm Attributes each in its
own sm node, and using the non-combining values e.g. U+00e5 and U+02da --there
are font metric issues still, but not with combining diacritics (what changing
the font would otherwise resolve). 

Rather, issue is with sm variables that will render in italic, but the nodes
for the non-combining diacritics for each of the sm Attributes do not. 

You can force centered alignment of the sm nodes by forcing the variable non
italic--done with the 'nitalic' attribute:

nitalic hat %theta nitalic hat %omega newline
nitalic hat a nitalic hat %THETA nitalic hat a newline
nitalic circle %omega nitalic circle %theta newline
nitalic circle a newline

but you loose italic variables, which folks prefer.

=> NEW

bug 101174 is related, but this is a legitimate mishandling of nodes for sm
Attributes.

And should folks wonder, we intentionally avoid using the Unicode combining
diacritics as per bug 66276

-- 
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/20200412/05827d9c/attachment.htm>


More information about the Libreoffice-bugs mailing list