OT features, conditionals, contextual, and more

Primary tabs

6 posts / 0 new
Last post
Sherman's picture
Offline
Joined: 28 Jun 2014 - 8:09am
OT features, conditionals, contextual, and more
0

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,

Reynir Heiðberg Stefánsson's picture
Joined: 19 Nov 2010 - 11:15am
0

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

Sherman's picture
Offline
Joined: 28 Jun 2014 - 8:09am
0

Yeah, thats OT, right?

Vladimir Tamari's picture
Offline
Joined: 4 Nov 2007 - 11:15pm
0

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 W Phinney's picture
Joined: 3 Sep 2002 - 11:00am
0

> 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
Offline
Joined: 2 Jun 2007 - 1:01pm
0

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
http://www.fileformat.info/info/unicode/char/2029/fontsupport.htm