Skip to main content
Known Participant
March 22, 2003
Question

line break in description tables

  • March 22, 2003
  • 2 replies
  • 780 views
Hallo,

how can I include a larger text into a font file structured with line
breaks?

e.g.

nameid 10 "TEXT01 line break TEXT02";
nameid 10 1 "TEXT01 line break TEXT02";


Andreas
This topic has been closed for replies.

2 replies

Inspiring
March 25, 2003
Txortx is correct that you are supposed to be able to use strings like this. Consider the feature file name table strings:

nameid 0 "Copyright \00a9 ...";
nameid 0 1 "Copyright \a9 1986,..."

Are you using the right format for the right platform? Remember, as Txortx noted, the Windows platform strings are Unicode values, and special characters need to be specifed as a 4 digit hex number, e.g "\00a9". The Mac platform strings are single-byte Mac encoded ( according to the language specified - Mac Roman is the default) , and special characters need to be specified as a two-digit hex number, e.g "\a9". We use such characters specofocations a lot, although I havem't ever tried putting in a new-line. Also, I thinl that the feature file parser is very narrow-minded, and doesn't take uppercase hex digits.
Known Participant
March 24, 2003
Hiya,

I suppose using \000a\000d for windows and \0a for mac should work.

t
_ASeidel_Author
Known Participant
March 24, 2003
Txortx wrote:
>
> Hiya,
>
> I suppose using \000a\000d for windows and \0a for mac should work.
>
> t


Hiya too Txortx,

This does not work! MAKEOTF don`t wont such strings in this table.

Andreas

BTW. If you want include an larger text file, this methode is extremly
unusable.