[ icewm-Bugs-562341 ] Font and antialiasing
Brought to you by:
captnmark
From: <no...@so...> - 2002-07-03 18:47:11
|
Bugs item #562341, was opened at 2002-05-30 14: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: Mathias Hasselmann (massel) 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: Mathias Hasselmann (massel) Date: 2002-07-03 20:47 Message: Logged In: YES user_id=7017 stop... looked at your comments again. you set LC_MESSAGES to POSIX. Is this by purpose? IMHO this could cause the problem since on recent installations icewm extracts the charset to use for message conversions from this category... ---------------------------------------------------------------------- Comment By: Mathias Hasselmann (massel) Date: 2002-07-03 20:43 Message: Logged In: YES user_id=7017 ya nye sznayu potomu sto problem c icewm, xfreetype i russkim gimp: ha moya machina vcegda rabotayet provino: videt cartinki... ok... ok... i know my russian stinks. so let's switch back to english again. ;-) well i've tried to reproduce the problem on my redhat 7.3 box now but (un)fortunatly everything works properly on my box - as you can see in the screenshots. maybe something with your locale setup is broken? i'll also attach the output of the locale command for my machine. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-07-03 11:57 Message: Logged In: NO It's for LFS v3.3 ----cut----- X0lDRVdNX1RSQVkoQ0FSRElOQUwpID0gMApfV0lOX0xBWUVSKENBUkRJTkFMKSA9IDQKX1dJ Tl9XT1JLU1BBQ0UoQ0FSRElOQUwpID0gMApXTV9TVEFURShXTV9TVEFURSk6CgkJd2luZG93 IHN0YXRlOiBOb3JtYWwKCQlpY29uIHdpbmR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XNrIGZvciBpY29uOiAweGEwMDAxYgoJCXdpbmRvdyBp ZCAjIG9mIGdyb3VwIGxlYWRlcjogMHhhMDAwMDEKV01fTk9STUFMX0hJTlRTKFdNX1NJWkVf SElOVFMpOgoJCXByb2dyYW0gc3BlY2lmaWVkIGxvY2F0aW9uOiAwLCAwCgkJcHJvZ3JhbSBz cGVjaWZpZWQgbWluaW11bSBzaXplOiAzMCBieSAxMDgKCQlwcm9ncmFtIHNwZWNpZmllZCBy ZXNpemUgaW5jcmVtZW50OiAyOCBieSAyOApXTV9QUk9UT0NPTFMoQVRPTSk6IHByb3RvY29s cyAgV01fREVMRVRFX1dJTkRPVywgV01fVEFLRV9GT0NVUwo= ----cut---- ---------------------------------------------------------------------- Comment By: Mathias Hasselmann (massel) Date: 2002-07-02 20:49 Message: Logged In: YES user_id=7017 Sounds like a iconv problem for me. Could you attach the output out xprop (preferable filtered by mimencode to avoid charset conversion problems) please? To create the attachement you would have to open the GIMP and a terminal window. In the terminal you'd enter: xprop | mimencode | tee font-and-aliasing.txt A cross will appear. Use it to click GIMP's window. ---------------------------------------------------------------------- Comment By: Marko Macek (captnmark) Date: 2002-07-02 13:40 Message: Logged In: YES user_id=1814 freetype 2.0.9 it's from redhat (either 7.3 or 7.2, not sure if I upgraded it together with Xfree 4.2.0 from 7.2 version). mail me privately and you will get the screenshot. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-07-01 18: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 15: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 13: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 12: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 20: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 20: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 20: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 18: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 16: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 21: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 19: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 18: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 |