вторник, 15 февраля 2011 г.

Opentype — Кириллическая капитель


Список глифов (русский алфавит, строчные)
uni0451 uni044F uni0430 uni0431 uni0432 uni0433 uni0434 uni0435 uni0436 uni0437 uni0438 uni0439 uni043A uni043B uni043C uni043D uni043E uni043F uni0440 uni0441 uni0442 uni0443 uni0444 uni0445 uni0446 uni0447 uni0448 uni0449 uni044A uni044B uni044C uni044D uni044E

Список глифов (русский алфавит, капитель)
(Для создания глифов Glyphs-Generate Glyphs)

uni0451.smcp uni044F.smcp uni0430.smcp uni0431.smcp uni0432.smcp uni0433.smcp uni0434.smcp uni0435.smcp uni0436.smcp uni0437.smcp uni0438.smcp uni0439.smcp uni043A.smcp uni043B.smcp uni043C.smcp uni043D.smcp uni043E.smcp uni043F.smcp uni0440.smcp uni0441.smcp uni0442.smcp uni0443.smcp uni0444.smcp uni0445.smcp uni0446.smcp uni0447.smcp uni0448.smcp uni0449.smcp uni044A.smcp uni044B.smcp uni044C.smcp uni044D.smcp uni044E.smcp
Программирование капители в OpenType


feature smcp { # my Small Caps feature
script cyrl;
sub @lowercase_cy by @small_caps_cy;
} smcp;

Классы:

@lowercase_cy = [  uni0451 uni044F uni0430 uni0431 uni0432 uni0433 uni0434 uni0435 uni0436 uni0437 uni0438 uni0439 uni043A uni043B uni043C uni043D uni043E uni043F uni0440 uni0441 uni0442 uni0443 uni0444 uni0445 uni0446 uni0447 uni0448 uni0449 uni044A uni044B uni044C uni044D uni044E ];

@small_caps_cy = [ uni0451.smcp uni044F.smcp uni0430.smcp uni0431.smcp uni0432.smcp uni0433.smcp uni0434.smcp uni0435.smcp uni0436.smcp uni0437.smcp uni0438.smcp uni0439.smcp uni043A.smcp uni043B.smcp uni043C.smcp uni043D.smcp uni043E.smcp uni043F.smcp uni0440.smcp uni0441.smcp uni0442.smcp uni0443.smcp uni0444.smcp uni0445.smcp uni0446.smcp uni0447.smcp uni0448.smcp uni0449.smcp uni044A.smcp uni044B.smcp uni044C.smcp uni044D.smcp uni044E.smcp ];





Комментариев нет:

Отправить комментарий