Font Direction Hint Setting

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
Lusavia
Posts: 10
Joined: Tue Jun 26, 2018 2:28 pm

Font Direction Hint Setting

Post by Lusavia » Mon Oct 29, 2018 8:32 pm

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

Erwin Denissen
Moderator
Moderator
Posts: 8290
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Font Direction Hint Setting

Post by Erwin Denissen » Tue Oct 30, 2018 2:55 pm

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.
Erwin Denissen
High-Logic
Proven Font Technology

Lusavia
Posts: 10
Joined: Tue Jun 26, 2018 2:28 pm

Re: Font Direction Hint Setting

Post by Lusavia » Tue Oct 30, 2018 4:33 pm

Thanks much for the reply.

Lusavia
Posts: 10
Joined: Tue Jun 26, 2018 2:28 pm

Re: Font Direction Hint Setting

Post by Lusavia » Thu Nov 01, 2018 4:12 pm

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.

Erwin Denissen
Moderator
Moderator
Posts: 8290
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Font Direction Hint Setting

Post by Erwin Denissen » Thu Nov 01, 2018 5:30 pm

Ensure you use characters that are defined as right-to-left in Unicode. For example $05D5 HEBREW LETTER VAV.
Erwin Denissen
High-Logic
Proven Font Technology

Lusavia
Posts: 10
Joined: Tue Jun 26, 2018 2:28 pm

Re: Font Direction Hint Setting

Post by Lusavia » Mon Nov 05, 2018 11:29 am

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.

Erwin Denissen
Moderator
Moderator
Posts: 8290
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Font Direction Hint Setting

Post by Erwin Denissen » Mon Nov 05, 2018 3:13 pm

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.
Erwin Denissen
High-Logic
Proven Font Technology

Lusavia
Posts: 10
Joined: Tue Jun 26, 2018 2:28 pm

Re: Font Direction Hint Setting

Post by Lusavia » Mon Nov 05, 2018 4:08 pm

Great! Thanks for the good info Erwin,I'll do that.

Post Reply