Old Hungarian text appeares left to right. The correct is right to left
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project
Download an Old Hungarian font from the github page, for example
https://github.com/kende-font/kende-font
Choose on the Linux the Old Hungarian layout. It is between the extra layouts.
Or: install the Old Hungarian layout from the keyman project's page
( https://keyman.com )
Type a text into a text area.
It must be appear right to left
Comments
I don't know enough about these fonts to say, but I would assume then it is a general issue with how handle all right-to-left fonts, not just this one? Either that, or there is something unique about this font. Have you verified whether other right-to-left fonts work as expected?
BTW, we reserve "critical" for crashes and score corruption. Also, "regression" means it worked in another recent version - I'm guessing that isn't the case, but if so, let us know which!
We do honor other R2L languages, like Arab and Hebrew, so maybe it is just that font that is broken? Or it is just the input method, not recognizing that this is an R2L language
In reply to We do honor other R2L… by Jojo-Schmitz
I would like, if MuseScore project to add Old Hungarian writing system as 3rd R2L language.
LibreOffice, Gedit, bash, full Gnome shell, Web browsers ( MS Edge doesn't work with it at all ) and several other programs, iPhone devices already use Old Hungarian script as R2L. Android kernel already prepared for using Old Hungarian writing system as R2L, they don't finished their font.
The Old Hungarian standard is a part of Unicode standard since 8.0 version, published in the year of 2014.
The coderanges are:
u10c80 - u10cb2: capital letter-symbols,
u10cc0 - u10cf2: small letter-symbols,
u10cfa - u10cff number-symbols
In reply to I don't know enough about… by Marc Sabatella
Sorry, my English is not too good.
MuseScore does set R2L (and L2R) depending on the locale (with the help of Qt, depending on
QLocale::textDirection()
). As far as I can tell there is no locale for "Old Hungarian"And no worries, your English is good enough and far better than my Hungarian ;-)
I don't think this is a bug, at least none in MuseScore, at best a feature request (AKA Suggestion)
In reply to I don't think this is a bug,… by Jojo-Schmitz
Old Hungarian script has locale:
ohu-Hung-HU
You're right, this is a feature request.
It apparently is not a locale Qt or Transifex (our translation tool) seems to support though.
In reply to It apparently is not a… by Jojo-Schmitz
ohu: see on webpage:
https://iso639-3.sil.org
Hung is in the unicode.org's iso15924
HU : Hungary.
Keyman project uses ohu-Hung-HU form
Transifex only has hu, hu_HU, hu_RO, hu_SK and en_HU
In reply to Transifex only has hu, hu_HU… by Jojo-Schmitz
Is it, maybe transifex's bug?
Not a bug, I guess, maybe a missing feature. But even if added there, I doubt Qt has support for that locale
In reply to Not a bug, I guess, maybe a… by Jojo-Schmitz
What I need to do?
In reply to What I need to do? by viktorkiwi.kovacs
Either convince the developers of Qt that Old Hungarian is a significant language that they should support or alter an existing R2L font yourself or type your text in another program and copy it as an image.
In reply to Either convince the… by underquark
I'll upload as soon as possible. Now I'm working.
In reply to Either convince the… by underquark
There is some link:
Font downloadable from Noto-fonts project:
https://github.com/googlefonts/noto-fonts/blob/main/hinted/ttf/NotoSans…
The Old Hungarian part of Unicode standard: (It describes, must to use Bidi algorithm)
https://www.unicode.org/versions/Unicode14.0.0/UnicodeStandard-14.0.pdf…
And the Unicode chart:
https://unicode.org/charts/PDF/U10C80.pdf
Is this information enough?
In reply to Not a bug, I guess, maybe a… by Jojo-Schmitz
Will be this feature added in the near of future?
IMHO unlikely to happen any time soon. I don't see any corresponding section of the Unicode section list, which does list for example Old Italic, Old North Arabian, Old Permic, Old Persian, Old South Arabian and Old Turkic, but no Hungarian at all.
So as near as I can tell all the basics for supporting this are missíng, an all fronts, Qt, Transifex, and even Unicode, at least in the version/form MuseScore uses
Actually I begin to see where this may fail... watch this space...
Not related to locales at all, just to a missing range in the list of section in the MuseScore F2 text palette
That at least seems to be part of the problem.
See https://github.com/musescore/MuseScore/pull/9798, apparently a lot of sections were missing there, not just Old Hungarian. Well, the previous list stems from 18b61e7, from back in September 2015.
With that you'd at least see those Old Hungarian letters in the F2 text palette. No idea though whether or not that helps with the R2L issue, but I doubt it.