1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-07 00:35:53 +01:00

- Added support for antialiased text with multibyte languages too.

(only tested on russian, since that's the only multibyte language
  I can test).
This commit is contained in:
dan
2002-11-21 05:21:42 +00:00
parent 3929660f39
commit 2fe1b0e3f8
7 changed files with 261 additions and 91 deletions

View File

@@ -129,8 +129,9 @@ fonts with transparency will be compiled into WINGs.
You need at least Xfree86 version 4.0.x for this but at least 4.1.x is
recommended.
For Xft support there is a new function to create a font that will render
using antialiasing and transparency: WMCreateAntialiasedFont().
For Xft support there are 2 new functions to create a font that will render
using antialiasing and transparency: WMCreateAntialiasedFont() and
WMCreateAntialiasedFontSet(). Later is for multibyte languages.
Passing such a font to WMDrawString() or WMDrawImageString() will result
in antialiased text displayed on screen. Modifying the alpha value for the
WMColor passed to WMDrawString() or WMDrawImageString() will result in text