[ icewm-Bugs-562341 ] Font and antialiasing
Brought to you by:
captnmark
From: <no...@so...> - 2002-07-01 16:39:25
|
Bugs item #562341, was opened at 2002-05-30 05:55 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100031&aid=562341&group_id=31 Category: icewm-1.2 Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Marko Macek (captnmark) Summary: Font and antialiasing Initial Comment: Font-antialiasing doen't work on my system, when I compiled IceWM-1.2.0pre2 with --enable-xfreetype and --enable-antialiasing all russian fonts missed. For example, in gimp title bar when I opened file Russia_text.jpg, it show blank title bar. The output message (in console) is 'IceWM: Warning: Invalid multibyte string "RUSsiantext.jpg-0.0 (RGB) 100%": Invalid or incomplete multibyte or wide character'. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-07-01 09:39 Message: Logged In: NO What is your freetype version? and can u post somewhere screenshot with cyrillic fonts in titlebar? ---------------------------------------------------------------------- Comment By: Marko Macek (captnmark) Date: 2002-07-01 06:03 Message: Logged In: YES user_id=1814 I set my locale to ru_RU.KOI8-R (LANG,LC_ALL, LC_CTYPE) I am using the fonts from microsoft's web page. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-07-01 04:34 Message: Logged In: NO >This indicates icewm doesn't have locale (LC_CTYPE) set >properly to KOI8-R or something. chip chip $ locale LANG=ru_RU.KOI8-R LC_CTYPE=ru_RU.KOI8-R LC_NUMERIC="ru_RU.KOI8-R" LC_TIME="ru_RU.KOI8-R" LC_COLLATE="ru_RU.KOI8-R" LC_MONETARY="ru_RU.KOI8-R" LC_MESSAGES=POSIX LC_PAPER="ru_RU.KOI8-R" LC_NAME="ru_RU.KOI8-R" LC_ADDRESS="ru_RU.KOI8-R" LC_TELEPHONE="ru_RU.KOI8-R" LC_MEASUREMENT="ru_RU.KOI8-R" LC_IDENTIFICATION="ru_RU.KOI8-R" LC_ALL= chip chip $ >This works for me: >TitleFontName="-microsoft-georgia-medium-i-*-*-12-*-*-*-*-*-*-*" What is your locale? ---------------------------------------------------------------------- Comment By: Marko Macek (captnmark) Date: 2002-06-30 03:35 Message: Logged In: YES user_id=1814 >TitleFontName="-microsoft-georgia-medium-i-*-*-12-*-*-*-*-*- >koi8-r" This works for me: TitleFontName="-microsoft-georgia-medium-i-*-*-12-*-*-*-*-*-*-*" >Output: IceWM: Warning: Invalid multibyte string >"russian_text": Invalid or incomplete multibyte or >wide character This indicates icewm doesn't have locale (LC_CTYPE) set properly to KOI8-R or something. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-06-27 11:55 Message: Logged In: NO Add on: I try three version of freetype 2.0.6, 2.0.9, 2.1.2 (latest), but all fonts are missed. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-06-18 11:50 Message: Logged In: NO I tried this on two systems: RedHat 7.2(enigma): XFree4.1.0, gcc-2.95.3 (compiled from sources), IceWM-1.0.9(source), IceWM-1.2.0pre1 (pre2, pre3) (from sources). LFS ( all from sources ): XFree4.2.0, gcc-2.95.3, and IceWM-1.0.9-1.2.0pre3 ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-06-18 11:42 Message: Logged In: NO IceWM 1.2.0pre3 compiled with configure --prefix=/opt --enable-i18n --enable-shaped-decorations --enable-gradients --enable-antialiasing --enable-xfreetype --with-imlib=/usr/bin/ --with-mkfontdir=/usr/X11R6/bin/ TitleFontName="-microsoft-georgia-medium-i-*-*-12-*-*-*-*-*-koi8-r" Output: IceWM: Warning: Invalid multibyte string "russian_text": Invalid or incomplete multibyte or wide character ------- Other report: IceWM: Warning: file descriptor still open: <number>. Please report a bug! <number> = 6, 7, 8 ---------------------------------------------------------------------- Comment By: Marko Macek (captnmark) Date: 2002-06-18 09:07 Message: Logged In: YES user_id=1814 You certainly need --enable-i18n. The problem is not with --enable-antialiasing, but with --enable-xfreetype. Please try changing the font to a truetype font when using --enable-xfreetype. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-06-18 07:46 Message: Logged In: NO I tried to compile without --enable-i18n and I see some text in TitleBar, ..., but it's a pseudo-graphics! But if --enable-i18n turned on the titlebar is empty(for russian text). May be post somewhere screenshots? I know peoples, that also have this problem. PS: this "bug" also in 1.09 and may be previously versions I cann't live without --enable-gradient, which needs --enable-antialiasing. Please, solve this problem. ---------------------------------------------------------------------- Comment By: Marko Macek (captnmark) Date: 2002-06-06 12:05 Message: Logged In: YES user_id=1814 I think the problem is in the font setup for Xft somewhere, cause the following font work just fine (I get cyrillic in the title bar): TitleFontName="-monotype-arial-medium-r-normal-*-*-120-*-*-p-*-koi8-ru" I tried googling, but the above is all I found so far. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-06-03 10:14 Message: Logged In: NO LANG=ru_RU.KOI8-R LC_MESSAGES=POSIX Fonts, e.g -adobe-helvetica-bold-i-*-*-13-*-*-*-*-*-koi8-r. All fonts have support for koi8-r characters. When I compiled icewm without antialising, all was fine, so someting in antialiasing? Yes, russian text stands for some filename. What config do you need? Without any changes (or changes in fonts) fonts are missed. ---------------------------------------------------------------------- Comment By: Marko Macek (captnmark) Date: 2002-06-03 09:21 Message: Logged In: YES user_id=1814 What is your locale (LC_??? variables) and what fonts do you have set up in icewm? Please attach all icewm config files you changed (if any). I assume "Russia_text" stands for some text/filename in russian (perhaps KOI-8)? Or not? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100031&aid=562341&group_id=31 |