Contents

boundingRect(forGlyph:)

Returns the bounding rectangle for the specified glyph, scaled to the receiver’s size.

Declaration

func boundingRect(forGlyph glyph: NSGlyph) -> NSRect

Discussion

Japanese fonts encoded with the scheme “EUC12-NJE-CFEncoding” do not have individual metrics or bounding boxes available for the glyphs above 127. For those glyphs, this method returns the bounding rectangle for the font instead.

See Also

Related Documentation

Instance Methods