[Lazarus] Font ligatures support
lazarus at mfriebe.de
Sat Oct 3 17:37:45 CEST 2020
On 03/10/2020 16:34, Alexey Tor. via lazarus wrote:
> It's not very simple. see file
> and search for "ligatures" in all places. Unit has special code for
Actually might be easier than thought....
> if GetCharacterPlacementW(DC, PWChar(Str), Length(Str), 0,
> @CharPlaceInfo, GCP_LIGATE)<> 0 then
> Result:= Windows.ExtTextOutW(DC, X, Y, ETO_CLIPPED or ETO_OPAQUE or
> ETO_GLYPH_INDEX, Rect, Pointer(Glyphs), Length(Glyphs), Dx)
> Result:= Windows.ExtTextOutW(DC, X, Y, ETO_CLIPPED or ETO_OPAQUE,
> Rect, PWChar(Str), Length(Str), Dx);
- If indeed the DX array is still applicable with the glyphs....
- And if that is supported on all widgetsets...
- And as long as the font does still behave monospaced ...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lazarus