~ubuntu-branches/ubuntu/lucid/lcdf-typetools/lucid

« back to all changes in this revision

Viewing changes to include/efont/otfgpos.hh

  • Committer: Bazaar Package Importer
  • Author(s): C.M. Connelly
  • Date: 2010-01-20 01:19:30 UTC
  • mfrom: (1.2.11 upstream) (3.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100120011930-l2gn28dmguk4zgb5
Tags: 2.82-1
* New upstream release.
* otftotfm: Fixes em and ex measurements with TrueType fonts (from 2.81).
* otftotfm: Fixes handling of multiply encoded glyphs (glyphs in more
  than one slot).

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
    Glyph left_glyph() const            { return _left.g; }
129
129
    const Position &right() const       { return _right; }
130
130
    Glyph right_glyph() const           { return _right.g; }
 
131
    inline void all_in_glyphs(Vector<Glyph> &gs) const;
131
132
 
132
133
    void unparse(StringAccum &, const Vector<PermString> * = 0) const;
133
134
    String unparse(const Vector<PermString> * = 0) const;
235
236
    return _left.g != 0 && !_left.placed() && _right.g != 0 && _right.h_empty();
236
237
}
237
238
 
 
239
inline void Positioning::all_in_glyphs(Vector<Glyph> &gs) const
 
240
{
 
241
    gs.clear();
 
242
    if (_left.g != 0)
 
243
        gs.push_back(_left.g);
 
244
    if (_right.g != 0)
 
245
        gs.push_back(_right.g);
 
246
}
 
247
 
238
248
}}
239
249
#endif