Re: [css3-fonts] subscript/superscript variants

Tal Leming <[email protected]> Thu, 10 May 2012 09:28:47 -0400
Newsgroups gmane.comp.web.css.general,gmane.comp.web.fonts
Message-ID <[email protected]>
On May 10, 2012, at 7:41 AM, Christoph P=C3=A4per wrote:

> That=E2=80=99s why it=E2=80=99s possible most of the time to apply =
them algorithmically, without explicit markup (i.e. =E2=80=98sup=E2=80=99 =
and =E2=80=98sub=E2=80=99), but implicit markup (e.g. =E2=80=98abbr=E2=80=99=
, =E2=80=98math=E2=80=99 and =E2=80=98lang=E2=80=99) can help a lot.
>=20
>  Mme. =E2=87=90 M<sup>me</sup>
>  Acme(TM) =E2=87=90 Acme<sup>TM</sup>    (Acme=E2=84=A2)
>  1st, 2nd, 3rd, 4th =E2=87=90 1<sup>st</sup>, 2<sup>nd</sup>, =
3<sup>rd</sup>, 4<sup>th</sup>
>  H2O =E2=87=90 H<sub>2</sub>O
>  NOx =E2=87=90 NO<sub>x</sub>
>  YCbCr =E2=87=90 YC<sub>B</sub>C<sub>R</sub>
>  2 Cl- + Ca2+ =E2=87=90 2 Cl<sup>=E2=88=92</sup> + Ca<sup>2+</sup>
>  E =3D mc^2 =E2=87=90 E =3D m=E2=81=A2c<sup>2</sup>   (E =3D mc=C2=B2)
>  9.80665 kg=C2=B7m=C2=B7s^-2 =E2=87=90 9.80665=E2=80=AFkg=C2=B7m=C2=B7s<=
sup>-2</sup>    (kg=C2=B7m=C2=B7s=E2=81=BB=C2=B2)
>  1 lbf. =E2=87=90 1 lb<sub><i>F</i></sub>
>  10bin + 10_10 + Ah =E2=87=90 10<sub>bin</sub> + 10<sub>10</sub> + =
A<sub>h</sub>
>  log_e(a), log10(a) =E2=87=90 log<sub>e</sub>a =3D ln a, =
log<sub>10</sub>a =3D lg a
>  a<sup>-</>b<sup>*</>c<sup>+</>d<sup>?</>e<sup>!</> =3D =
a{0}b{0,}c{1,}d{,1}e{1}
>  n/a =E2=87=90 NP<sub>Nom, Sg, f</sub>
>  n/a or lim_(n=E2=86=920) =E2=87=90 lim<sub>n=E2=86=920</sub>
>  n/a or =E2=88=8F_(i=E2=88=88=E2=84=99) =E2=87=90 =
=E2=88=8F<sub>i=E2=88=88=E2=84=99</sub>
>  n/a =E2=87=90 =E2=88=91<sub>i=3D1</sub><sup>=E2=88=9E</sup> =3D =
=E2=88=91<sup>=E2=88=9E</sup><sub>i=3D1</sub>=20
>  n/a or C14, C-14 =E2=87=90 <sup>14</sup>C   ?
>  n/a =E2=87=90 <sup>235</sup><sub>92</sub>U
>=20
> It=E2=80=99s usually the font developer=E2=80=99s job to create =
complex substitution tables for that (although maybe for =E2=80=98calt=E2=80=
=99 or the like rather than =E2=80=98subs=E2=80=99 and =E2=80=98sups=E2=80=
=99)

Are you saying that font developers should build things like this

	user input: E =3D mc^2
	output: E =3D mc=C2=B2

into fonts via OpenType features?

Tal