RTLTMPro icon indicating copy to clipboard operation
RTLTMPro copied to clipboard

numbers and Latins are square

Open vivogd opened this issue 3 years ago • 1 comments

Hi Thank you for this. It should be very useful I created a font asset for Hebrew, I added the Hebrew range and the glyph has Latin, Hebrew, and numbers. When I use the regular TMP text - I can see all letters; When I use the RTL Text Mesh Pro - the Latin and numbers are shown as squaresץ I think it is trying to write the letters in Arabic. Am I missing something?

vivogd avatar Aug 03 '22 08:08 vivogd

Squares are missing glyphs as you have suspected.

There is a checkbox on the RTL Text Mesh Pro component labeled "preserve numbers". See if toggling that fixes your issue.

hk1ll3r avatar Aug 03 '22 23:08 hk1ll3r

Thanks... I don't know how I missed that. BTW how can I add also the Latin glyphs?

vivogd avatar Aug 06 '22 04:08 vivogd

Easiest would be to set another font asset as the fallback for your hebrew font asset. There is a field in font asset's inspector for this.

hk1ll3r avatar Aug 06 '22 07:08 hk1ll3r

Cool... Thanks

vivogd avatar Aug 06 '22 08:08 vivogd