View Issue Details

IDProjectCategoryView StatusLast Update
0000760luatexluatex bugpublic2015-03-21 15:00
ReporterDohyun Kim Assigned ToTaco  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.79.0 
Summary0000760: fontloader does not return "top side bearing"
DescriptionFor an implementation of vertical typesetting, glyphs subtable returned by the fontloader library should have "top side bearing" as well as vwidth, if the font has vertical metrics.
  
However, current LuaTex manual 4.4.5.1.2 mentions items only about vwidth and lsidebearing, but not tsidebearing. Please consider including it into font table. Note that I'm not using RTT mode for vertical typesetting.
TagsNo tags attached.

Activities

Taco

2014-01-03 14:38

administrator   ~0001209

In psread.c, L3274 (also needs splinechar structure changes)

Taco

2014-01-03 14:40

administrator   ~0001210

Last edited: 2014-01-03 14:40

For Dohyun Kim: please note that only Type1 fonts have a sidebearing point. TTF-based fonts use the glyph boundingbox information directly.

Dohyun Kim

2014-01-04 02:17

reporter   ~0001211

Well... Type1 fonts are not my concern. AFAIK, the vmtx table in TTF-based font has "tsb" values for each glyphs, which might be different from the boundingbox info.

$ ttx -t vmtx AdobeMyungjoStd-Medium.otf
$ head AdobeMyungjoStd-Medium.ttx
<?xml version="1.0" encoding="utf-8"?>
<ttFont sfntVersion="OTTO" ttLibVersion="2.4">

  <vmtx>
    <mtx name=".notdef" height="1000" tsb="0"/>
    <mtx name="cid00001" height="1000" tsb="880"/>
    <mtx name="cid00002" height="1000" tsb="144"/>
    <mtx name="cid00003" height="1000" tsb="138"/>
    <mtx name="cid00004" height="1000" tsb="163"/>
    <mtx name="cid00005" height="1000" tsb="68"/>
...

Taco

2014-01-06 10:14

administrator   ~0001213

Thanks, that is helpful.

Issue History

Date Modified Username Field Change
2012-06-22 07:59 Dohyun Kim New Issue
2013-12-21 00:27 Hans Hagen Product Version => 0.79.0
2014-01-03 14:37 Taco Assigned To => Taco
2014-01-03 14:37 Taco Status new => assigned
2014-01-03 14:38 Taco Note Added: 0001209
2014-01-03 14:40 Taco Note Added: 0001210
2014-01-03 14:40 Taco Note Edited: 0001210
2014-01-04 02:17 Dohyun Kim Note Added: 0001211
2014-01-06 10:14 Taco Note Added: 0001213
2014-03-14 14:21 Taco Status assigned => resolved
2014-03-14 14:21 Taco Resolution open => fixed
2015-03-21 15:00 Hans Hagen Status resolved => closed