LayoutFarm / Typography

C# Font Reader (TrueType / OpenType / OpenFont / CFF / woff / woff2) , Glyphs Layout and Rendering
Other
401 stars 82 forks source link

implement gpos and gsub #12

Open prepare opened 7 years ago

prepare commented 7 years ago

Advance typography is in the plan :)


see advanced GSUB/ GPOS at https://github.com/LayoutFarm/Typography/issues/18

prepare commented 7 years ago

GPOS


test with Thai glyph that require gpos table

(see ad3b999c0a4e78d7b7e5748df79edd79e5bcfeee)

gpos

prepare commented 7 years ago

GSUB : ccmp

shows glyph substitution


gsub

prepare commented 7 years ago

GSUB : ligature feature


ligature

prepare commented 7 years ago

ch_01

prepare commented 7 years ago

GSUB - GPOS


th_glyph

th_glyph2

prepare commented 5 years ago

GSUB - GPOS

th_sarabun

Thai (complex script), Sarabun font from https://github.com/cadsondemak/Sarabun

prepare commented 4 years ago

GPOS, Type2 Format2

see https://github.com/LayoutFarm/Typography/commit/a914dae604b9a443d63dedb2f0b7afcd6cb7c01d

sarabun_f-q pic 1: Sarabun Font, 72 pt, (a) before , (b) after see minor shift (black arrow)


sarabun_f-o

pic 2: Sarabun Font,72 pt, (a) before , (b) after see minor shift (black arrow)