FontDescription.getSize

int getSize()

Gets the size field of a font description.

See [pango.font_description.FontDescription.setSize].

Returns

the size field for the font description in points

or device units. You must call [pango.font_description.FontDescription.getSizeIsAbsolute] to find out which is the case. Returns 0 if the size field has not previously been set or it has been set to 0 explicitly. Use [pango.font_description.FontDescription.getSetFields] to find out if the field was explicitly set or not.