Page 1 of 1

Font Direction Hint Setting

Posted: Mon Oct 29, 2018 8:32 pm
by Lusavia
Please tell me where the font direction hint setting lives now in 11.5 pro edition. Need to set font as right to left and below info references an old version I assume - I see no option under properties. Thanks.

https://www.high-logic.com/fontcreator/ ... rview.html

Re: Font Direction Hint Setting

Posted: Tue Oct 30, 2018 2:55 pm
by Erwin Denissen
That property is removed as it is deprecated in the specs, thus no longer important.

A text layout engine will determine the text direction based on the characters.

Re: Font Direction Hint Setting

Posted: Tue Oct 30, 2018 4:33 pm
by Lusavia
Thanks much for the reply.

Re: Font Direction Hint Setting

Posted: Thu Nov 01, 2018 4:12 pm
by Lusavia
Any suggestions of what I can do in fc to get a text layout engine to recognize RTL direction? Change a panose value?

Font in question contains non-connecting rtl characters (like Hebrew for example). I've tried deselecting anything identifying characters as Latin but nothing is working.

Re: Font Direction Hint Setting

Posted: Thu Nov 01, 2018 5:30 pm
by Erwin Denissen
Ensure you use characters that are defined as right-to-left in Unicode. For example $05D5 HEBREW LETTER VAV.

Re: Font Direction Hint Setting

Posted: Mon Nov 05, 2018 11:29 am
by Lusavia
I can't do that, they're custom characters in the private use range (this case ED00 ...). So I need to know what field/value these text engines read that tells them font direction. There's no unicode subrange in private use area devoted to RTL so something besides codepoint itself must relay this info. Thanks again.

Re: Font Direction Hint Setting

Posted: Mon Nov 05, 2018 3:13 pm
by Erwin Denissen
This information is not stored within fonts, but defined by the Unicode consortium.

You could start your text with the right-to-left override (RLO) character (code point $202E) which tells the word processing engine to process the remaining characters from right to left (RTL).

Here is the text "hello world!" preceded with this special character:

‏‮hello world!

As soon as a new line is detected this override stops.

You might want to read more about the Unicode Bidirectional Algorithm.

Re: Font Direction Hint Setting

Posted: Mon Nov 05, 2018 4:08 pm
by Lusavia
Great! Thanks for the good info Erwin,I'll do that.