liberationfonts / liberation-fonts

The Liberation(tm) Fonts is a font family which aims at metric compatibility with Arial, Times New Roman, and Courier New.
Other
439 stars 21 forks source link

Bad alignment of U+0305 ◌̅ COMBINING OVERLINE #64

Open jfcaron3 opened 1 year ago

jfcaron3 commented 1 year ago

Describe the bug

The combining overline U+0305 does not properly line up with the character with which it combines.

To Reproduce Steps to reproduce the behavior, e.g. trying to write a square root of two with proper vinculum.

  1. Ctrl+Shift+221A
  2. Space
  3. 2
  4. Ctrl+Shift+U
  5. 0305
  6. Space
  7. See error

Expected behavior A horizontal bar over the 2, ideally connecting with the square root "surd" symbol at the front.

Screenshots image image

Desktop (please complete the following information):

Additional context I'm amazed at how difficult it is to write a proper square root with unicode symbols.

WelliSolutions commented 1 year ago

Question is: is maths (like square root) the intended use of "combining overline"? The block it is in is called "Combining Diacritical Marks" and diacritics is stuff like ^, ` and ´ used on single characters, if I'm not mistaken.

Combining overline (U+0305): A̅ B̅ C̅ D̅ E̅ F̅ G̅ ... a̅ b̅ c̅ d̅ e̅ f̅ g̅ ... Combining macron (U+0304): Ā B̄ C̄ D̄ Ē F̄ Ḡ ... ā b̄ c̄ d̄ ē f̄ ḡ ...

If something were intended for use with √ U+221A, I guess it would be near there.

And eventually, I think you can't typeset anything beyond trivial with Unicode, like

Same applies for musical symbols, which somehow are part of Unicode but quite useless either. You won't be able to typeset this with Unicode alone:

image

Other than that, yes I agree that the overline has a bad placement. That's why I came here.

jfcaron3 commented 1 year ago

I do use another character in "Combining Diacritical Marks" for math and physics stuff: "COMBINING CIRCUMFLEX ACCENT" for unit vectors like n̂.

I also use "COMBINING RIGHT ARROW ABOVE" from "Combining Diacritical Marks for Symbols" for regular vectors B⃗.

I understand the limitation for formulas, but I use these symbols in text when talking about quantities instead of having to type their full name in english, or when the formula is simple enough to type directly.