mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
..
This commit is contained in:
parent
42f47d57c0
commit
942b11633d
@ -319,6 +319,13 @@ void ffw_metric(double * ascent, double * descent)
|
|||||||
sf->descent = em - bb.maxy;
|
sf->descent = em - bb.maxy;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The embedded fonts are likely to have inconsistent values for the 3 sets of ascent/descent
|
||||||
|
* PDF viewers don't care, since they don't even use these values
|
||||||
|
* But have to unify them, for different browsers on different platforms
|
||||||
|
* Things may become easier when there are CSS rules for baseline-based positioning.
|
||||||
|
*/
|
||||||
|
|
||||||
info->os2_winascent = a;
|
info->os2_winascent = a;
|
||||||
info->os2_typoascent = a;
|
info->os2_typoascent = a;
|
||||||
info->hhead_ascent = a;
|
info->hhead_ascent = a;
|
||||||
|
Loading…
Reference in New Issue
Block a user