| 415 | |
| 416 | |
| 417 | Imath::Box2f bound() const |
| 418 | { |
| 419 | float scale = 1.0f / (float)(m_face->units_per_EM); |
| 420 | return Box2f( |
| 421 | V2f( (float)m_face->bbox.xMin * scale, (float)m_face->bbox.yMin * scale ), |
| 422 | V2f( (float)m_face->bbox.xMax * scale, (float)m_face->bbox.yMax * scale ) |
| 423 | ); |
| 424 | } |
| 425 | |
| 426 | Imath::Box2f bound( char c ) const |
| 427 | { |