OT features, conditionals, contextual, and more


Hello, i am new to OT features and everything that that means. I need to know if the letter I just typed is the first letter of a 'paragraph', and by so, make a sustitution. Is that possible? Anyone can guide me on some docs I should strongly read?

thank you for your comments,

Té Rowan's picture

I think you can tell the first letter of a word, but beyond that you'll have to let the layout program handle it.


Yeah, thats OT, right?

Vladimir Tamari's picture

I think you are asking about "Initial Caps" the first letter of the paragraph made very large occupying the top telft corner of the paragraph spanning several lines. They are also called "Dropped Caps". Online they are created by some style code like CSS. But I do not know if there is an OT feature to substitute for them.
See http://desktoppub.about.com/od/glossary/g/Initial-Caps.htm

Thomas Phinney's picture

> Yeah, thats OT, right?

No, the layout program is not OpenType. OpenType is a font format. The software that does layout is something else.

Initial caps are often the same letters as others in the font, just larger. Setting such letters is primarily a feature of page layout (and CSS on the web), not an OpenType thing.

If there is a desire to make such a letter stylistically different, the Titling feature might be appropriate, or perhaps a Stylistic Set. However, there is no paragraph-level layout functionality in OpenType today. Setting the first letter of the paragraph differently would be done manually, or by a feature in the layout software (CSS, InDesign grep styles, whatever), and not at the level of the font.

Michel Boyer's picture

There is nevertheless a Unicode character U+2029 paragraph separator. I wonder who asked for it and what it is used for. It is supported at least by the following fonts

Syndicate content Syndicate content