Re: [css3-fonts] subscript/superscript variants

On May 10, 2012, at 11:09 AM, Christoph Päper wrote:

> Tal Leming:
> 
>> Are you saying that font developers should build things like this
>> 
>> 	user input: E = mc^2
>> 	output: E = mc²
>> 
>> into fonts via OpenType features?
> 
> I’m saying that either fonts should support that

This isn't really possible with OpenType as the power of GSUB and GPOS lookups is rather limited. It's unfortunately not regex-like at all—everything has to be hard coded. It's also far too deep of a problem for a font to solve on it's own—scripts * languages * superscript * subscript * small caps * unicase * all other transformations * authors' preferred markup syntax. The table sizes would be monstrously large if one could even get past the size limits that are part of the GSUB and GPOS format.

Tal

Received on Thursday, 10 May 2012 15:31:21 UTC