Skip to content

TextMeasurer.TryMeasureCharacterBounds doesn't return bounds for some characters using Style Script font #401

Answered by JimBobSquarePants
Kizuto3 asked this question in Q&A
Discussion options

You must be logged in to vote

There's no issue here.

Here's what is happening:

  • The glyphs at positions 10 and 11 e (507) and r (801) are replaced by ligature e_r (509).
  • Following that substitution, the glyphs at position 12 and 13 t (851) h (588) are replaced by ligature t_h (852)

This leaves 19 glyphs in total instead of the original 21.

As you can see the output is correct.

If you wish to see a step by step demonstration of the process you can use this website.
https://www.corvelsoftware.co.uk/crowbar/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kizuto3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants