1

I'm trying to get a font, SambhotaUnicode, to align on the ascender line, so that text reads evenly across the heads of the letters at different sizes. Another font, TibetanMachineUnicode, actually does this just fine. However I'm not sure why or where to start digging to update SambhotaUnicode to match the latter's beavhour. Using fontforge's tools to do a diff it does say there are different truetype instructions.

SambhotaUnicode (left, incorrect) vs. TibetanMachineUnicode (right, correct):

enter image description here

For context, I'm using LaTeX, and there are other limitations in it arround wrapping long blocks of text in boxes, hence it seems like adjusting the font might be the simplest and seemingly the most correct way to fix it.

  • Welcome to Graphic Design SE and thank you for your question. If you found the answer (or at least an answer) to your question yourself, you can and should post it as an answer to make things more clear for visitors and allow users to direct votes and comments to the question and answer specifically. See Can I answer my own question? – Wrzlprmft Dec 8 '16 at 9:11
  • Will do! I'll just need to do some more validation first to see if this is the right answer. – CCS Dec 8 '16 at 17:14
2

After examining the two fonts in fontforge and FontLab, it appears that the letters are simply aligned differently.

The TibetanMachineUnicode aligns the top of the letters at y-axis 0, where as the SambhotaUnicode font is aligned to drop the bottom part of the letter slightly below 0.

SambhotaUnicode (left) vs. TibetanMachineUnicode (right):

enter image description here

Using fontforge as a test I moved one of the letters in SambhotaUnicode to y-axis 0, which appeared to work. However modifying a font like this seems to be non-trivial to get right and leaves you with a custom and unsupported font. So I'm still looking into seeing if I can do the adjustment directly in LaTeX for a better long term solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.