Lines Matching defs:font
19 #include "libnrtype/font-instance.h"
44 DrawingGlyphs::setGlyph(font_instance *font, int glyph, Geom::Affine const &trans)
50 if (font) font->Ref();
52 _font = font;
82 the font's drawing box. Extra space is to hold overline or underline, if present. All
83 characters in a font use the same ascent and descent, but different widths. This lets leading
87 the left and right edges of the box defined in the font.
119 sees a nondrawable glyph. Instead mock up a pickbox for them using font characteristics.
219 DrawingText::addComponent(font_instance *font, int glyph, Geom::Affine const &trans,
223 if (!font || !font->PathVector(glyph)) {
227 if (!font)return(false);
231 ng->setGlyph(font, glyph, trans);
232 if(font->PathVector(glyph)){ ng->_drawable = true; }
234 ng->_width = width; // used especially when _drawable = false, otherwise, it is the advance of the font
235 ng->_asc = ascent; // of font, not of this one character
236 ng->_dsc = descent; // of font, not of this one character