]> git.eshelyaron.com Git - emacs.git/commit
Extract underline positions from PostScript metrics tables
authorPo Lu <luangruo@yahoo.com>
Tue, 31 Oct 2023 10:41:59 +0000 (18:41 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 31 Oct 2023 10:42:15 +0000 (18:42 +0800)
commitd3b0162b8020518e0a8dc7a21f95c20ded317a89
tree1fea5b8a0bdad57e730e4439de6af5f2c2ed47bf
parentdd92ccc7ee12807bbc1c30f0d6576fad738bd104
Extract underline positions from PostScript metrics tables

* src/sfntfont.c (struct sfnt_font_desc): Introduce fields where
the font's underline position is recorded.
(sfnt_enum_font_1): Compute the underline position with
information in the post table whenever it exists.
(sfntfont_open): Scale the recorded position and save it into
the font object.
src/sfntfont.c