Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why reorder U+0E3A (Thai Phinthu)? #118

Closed
sungsit opened this issue Jul 4, 2015 · 2 comments
Closed

Why reorder U+0E3A (Thai Phinthu)? #118

sungsit opened this issue Jul 4, 2015 · 2 comments

Comments

@sungsit
Copy link

sungsit commented Jul 4, 2015

Hi. Could please inform me why HarfBuzz always reorder U+0E3A (Thai Nighahit) to the lowest stack?

I can't find any particular reason why it should do that for Thai national language. Moreover, it is not desired behavior for some minority languages which use Thai script.

nikahit

The screenshot above, I input Thai consonants & U+0E3A before other low vowels but HarfBuzz still displays it at the lowest position (the first 2 are actual words from Melayu-Pattani, the last one is just for testing mkmk). Compared to FontForge, it should be like a screenshot below - the font with mkmk feature can be found here https://github.com/BoonUni/boonjot).

nikahit-fontforge

@behdad
Copy link
Member

behdad commented Aug 18, 2015

Basically because Windows does that. Is that a good-enough answer?

@behdad behdad closed this as completed Aug 31, 2015
@sungsit
Copy link
Author

sungsit commented Oct 25, 2015

I just found out that Harfbuzz & Uniscribe override Phinthu (U+0E3A) combining class (sorry, I previously mentioned it as Nighahit) and this problem has been discussed before but I still don't know why Windows does that.

So in case someone needs to create OpenType feature to workaround this problem, there is Theppitak's guideline here (in Thai).

Thank you for creating Harfbuzz anyway, it helps doing Thai & Lao fonts a lot easier for GNU/Linux and the web!

@sungsit sungsit changed the title Why reorder U+0E3A (Thai Nighahit)? Why reorder U+0E3A (Thai Phinthu)? Oct 25, 2015
gpgreen pushed a commit to gpgreen/harfbuzz that referenced this issue Jan 10, 2024
Link in stdc++ when building on Windows GNU

Fixes harfbuzz#117

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-harfbuzz/118)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants