Method: PdfExtract::Characters.glyph_descent
- Defined in:
- lib/model/characters.rb
.glyph_descent(c, state) ⇒ Object
TODO Implement writing mode and :FontMatrix.
10 11 12 13 14 15 16 |
# File 'lib/model/characters.rb', line 10 def self.glyph_descent c, state if state.last[:font_metrics].nil? || state.last[:font_metrics].descent.nil? 0 else state.last[:font_metrics].descent / 1000.0 end end |