cairo_show_glyphs on an image_surface
Luca Bacci
luca.bacci982 at gmail.com
Tue May 20 17:30:49 UTC 2025
Hi, are you setting size in LOGFONT
<https://www.cairographics.org/manual/cairo-Win32-GDI-Fonts.html#cairo-win32-font-face-create-for-logfontw>?
Or do you set it in cairo_scaled_font_create
<https://www.cairographics.org/manual/cairo-cairo-scaled-font-t.html#cairo-scaled-font-create>
?
Luca
Il giorno mar 20 mag 2025 alle ore 19:04 Elmar Haneke <elmar at haneke.de> ha
scritto:
> I do have a strange problem when drawing text using cairo_show_glyphs on a
> context created for image_surface.
>
> It seems that font family and size is completely ignored - size does
> spread glyphs wider.
>
> Drawing same Text by showing a pango layout does work fine.
>
> What can be done to fix the issue?
>
> I'm using cairo on win32 platform via c# wrapper.
>
> Elmar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20250520/ae601b10/attachment.htm>
More information about the cairo
mailing list