You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I plan to support Thai language for Onion OS. At the current state, the default fonts do not have Thai glyphs. So I aim to merge Thai font into the default fonts. When I add Thai glyphs into wqy-microhei.ttc, I encounter an issue. I attach the images below show adding regular font and the code adjust as bold font. The spacing becomes weird at the red box mark. I assume the reason is it has vowel and tone glyphs in Thai, which make spacing extend when the weight changes from regular to bold. However, if I add Thai glyph as bold from start and set weight class as bold, it will render text nicely as it should be.
Proposal:
My plan is to make entire original glyphs in wqy-microhei.ttc as bold. Then I add my Thai font as bold font and set "weight class" + "style map" as bold, using FontForge. For the final step, I generate TCC font by disable "Merge tables across fonts", which requires the space about 9-10 MB.
After this change, the others glyphs except Thai, the spacing will be little narrower than the current one. Overall, it still looks pretty. I hope this improvement would also help us adding more glyphs in the future. Thank you for your time and consideration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I plan to support Thai language for Onion OS. At the current state, the default fonts do not have Thai glyphs. So I aim to merge Thai font into the default fonts. When I add Thai glyphs into wqy-microhei.ttc, I encounter an issue. I attach the images below show adding regular font and the code adjust as bold font. The spacing becomes weird at the red box mark. I assume the reason is it has vowel and tone glyphs in Thai, which make spacing extend when the weight changes from regular to bold. However, if I add Thai glyph as bold from start and set weight class as bold, it will render text nicely as it should be.
Proposal:
My plan is to make entire original glyphs in wqy-microhei.ttc as bold. Then I add my Thai font as bold font and set "weight class" + "style map" as bold, using FontForge. For the final step, I generate TCC font by disable "Merge tables across fonts", which requires the space about 9-10 MB.
After this change, the others glyphs except Thai, the spacing will be little narrower than the current one. Overall, it still looks pretty. I hope this improvement would also help us adding more glyphs in the future. Thank you for your time and consideration.
Beta Was this translation helpful? Give feedback.
All reactions