LOGFONT
has an lfClipPrecision
field:
The clipping precision defines how to clip characters that are partially outside the clipping region.
Possible values of the enum are described here: ClipPrecision Flags
The descriptions are a bit vague, so for CLIP_STROKE_PRECIS
we get:
This value MAY be returned when enumerating rasterized, TrueType and vector fonts.
My question is, what does it mean to have clip precision equal to CLIP_STROKE_PRECIS
? Do I let partial character overflows slip past the clipping region's boundary and not be clipped? Or do I clip a stroke if it does not entirely fit within the clipping region, subsequently leaving a partial character?
Likewise, for CLIP_DFA_DISABLE
:
This value specifies that font association SHOULD be turned off.
To clip or not to clip, that is the question...