What is the difference between the Font and FontMetrics classes

The FontMetrics class is used to define implementation-specific properties, such asascent and descent, of a Font object.

Showing Answers 1 - 1 of 1 Answers

Font class is used to set or retrieve the screen fonts.The Font class maps the characters of the language to their respective glyphs.
The FontMetrics class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.i.e they provide access to the attributes of the font object.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions