[Fonts]Fontconfig + patched qt-3.0.5 doesn't allow bitmap fixed font

2002-10-18 Thread Paul de Vrieze
Yesterday I installed the XFt-2 enabled QT. Now running konsole (the kde 
terminal application) It started out with very wide characters (from arial) 
This is caused by the fact that the font selection mechanism refuses to match 
the -misc-fixed-medium-r-* bitmapped font. I've tried out several 
configurations but none helped (except aliassing to a monospaced font, not 
arial).

I'll attach a log from starting konsole, and my font.conf file.


-- 
Paul de Vrieze
Junior Researcher
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net

XFT_DEBUG=4047
XftFontMatch pattern Pattern 6 of 16
	encoding: iso10646-1
	family: arial sans
	foundry: monotype
	size: 12
	slant: 0
	weight: 100

XftFontMatch after FcConfig substitutions Pattern 7 of 16
	dpi: 75
	encoding: iso10646-1
	family: arial Verdana Arial Verdana Nimbus Sans L Luxi Sans Arial Helvetica Kochi Gothic AR PL KaitiM GB AR PL KaitiM Big5 Baekmuk Dotum SimSun sans-serif sans-serif
	foundry: monotype
	size: 12
	slant: 0
	weight: 100

XftDisplayInfoGet Default visual 0x23 format 0,16,8,0
XftDisplayInfoGet initialized, hasRender set to True
global max cache memory 4194304
global max unref fonts 16
XftFontMatch after X resource substitutions Pattern 18 of 32
	antialias: FcTrue
	autohint: FcFalse
	dpi: 75
	encoding: iso10646-1
	family: arial Verdana Arial Verdana Nimbus Sans L Luxi Sans Arial Helvetica Kochi Gothic AR PL KaitiM GB AR PL KaitiM Big5 Baekmuk Dotum SimSun sans-serif sans-serif
	foundry: monotype
	globaladvance: FcTrue
	hinting: FcTrue
	maxglyphmemory: 1048576
	minspace: FcFalse
	pixelsize: 12.5
	render: FcTrue
	rgba: 0
	scale: 1
	size: 12
	slant: 0
	verticallayout: FcFalse
	weight: 100

XftFontMatch result Pattern 25 of 32
	antialias: FcFalse
	autohint: FcFalse
	charset: set
	dpi: 75
	encoding: iso10646-1
	family: Arial
	file: /usr/X11R6/lib/X11/fonts/truetype/arial.ttf
	foundry: monotype
	globaladvance: FcTrue
	hinting: FcTrue
	index: 0
	lang: langset
	maxglyphmemory: 1048576
	minspace: FcFalse
	outline: FcTrue
	pixelsize: 12.5
	render: FcTrue
	rgba: 0
	scalable: FcTrue
	scale: 1
	size: 12
	slant: 0
	style: Regular
	verticallayout: FcFalse
	weight: 100

XftFontInfoFill: /usr/X11R6/lib/X11/fonts/truetype/arial.ttf: 0 (12.5 pixels)
New font /usr/X11R6/lib/X11/fonts/truetype/arial.ttf/0 size 12x12
XftFontMatch pattern Pattern 5 of 16
	encoding: iso10646-1
	family: fixed sans
	size: 12
	slant: 0
	weight: 100

XftFontMatch after FcConfig substitutions Pattern 6 of 16
	dpi: 75
	encoding: iso10646-1
	family: fixed Arial Verdana Nimbus Sans L Luxi Sans Arial Helvetica Kochi Gothic AR PL KaitiM GB AR PL KaitiM Big5 Baekmuk Dotum SimSun sans-serif
	size: 12
	slant: 0
	weight: 100

XftFontMatch after X resource substitutions Pattern 17 of 32
	antialias: FcTrue
	autohint: FcFalse
	dpi: 75
	encoding: iso10646-1
	family: fixed Arial Verdana Nimbus Sans L Luxi Sans Arial Helvetica Kochi Gothic AR PL KaitiM GB AR PL KaitiM Big5 Baekmuk Dotum SimSun sans-serif
	globaladvance: FcTrue
	hinting: FcTrue
	maxglyphmemory: 1048576
	minspace: FcFalse
	pixelsize: 12.5
	render: FcTrue
	rgba: 0
	scale: 1
	size: 12
	slant: 0
	verticallayout: FcFalse
	weight: 100

XftFontMatch result Pattern 24 of 32
	antialias: FcFalse
	autohint: FcFalse
	charset: set
	dpi: 75
	encoding: iso10646-1
	family: Arial
	file: /usr/X11R6/lib/X11/fonts/truetype/arial.ttf
	globaladvance: FcTrue
	hinting: FcTrue
	index: 0
	lang: langset
	maxglyphmemory: 1048576
	minspace: FcFalse
	outline: FcTrue
	pixelsize: 12.5
	render: FcTrue
	rgba: 0
	scalable: FcTrue
	scale: 1
	size: 12
	slant: 0
	style: Regular
	verticallayout: FcFalse
	weight: 100

XftFontInfoFill: /usr/X11R6/lib/X11/fonts/truetype/arial.ttf: 0 (12.5 pixels)
Caching glyph 0x3 size 20
Caching glyph 0x4 size 60
Caching glyph 0x5 size 32
Caching glyph 0x6 size 60
Caching glyph 0x7 size 64
Caching glyph 0x8 size 60
Caching glyph 0x9 size 60
Caching glyph 0xa size 32
Caching glyph 0xb size 72
Caching glyph 0xc size 72
Caching glyph 0xd size 36
Caching glyph 0xe size 48
Caching glyph 0xf size 32
Caching glyph 0x10 size 24
Caching glyph 0x11 size 24
Caching glyph 0x12 size 60
Caching glyph 0x13 size 60
Caching glyph 0x14 size 60
Caching glyph 0x15 size 60
Caching glyph 0x16 size 60
Caching glyph 0x17 size 60
Caching glyph 0x18 size 60
Caching glyph 0x19 size 60
Caching glyph 0x1a size 60
Caching glyph 0x1b size 60
Caching glyph 0x1c size 60
Caching glyph 0x1d size 48
Caching glyph 0x1e size 56
Caching glyph 0x1f size 48
Caching glyph 0x20 size 36
Caching glyph 0x21 size 48
Caching glyph 0x22 size 60
Caching glyph 0x23 size 72
Caching glyph 0x24 size 60
Caching glyph 0x25 size 60
Caching glyph 0x26 size 60
Caching glyph 0x27 size 60
Caching glyph 0x28 size 60
Caching glyph 0x29 size 60
Caching glyph 0x2a size 60
Caching glyph 0x2b size 60
Caching glyph 0x2c size 60
Caching glyph 0x2d size 60
Caching glyph 0x2e size 60
Caching glyph 0x2f size 60
Caching glyph 0x30 size 60
Caching glyph 0x31 size 60
Caching glyph 0x32 size 60
Caching glyph 0x33 size 

Re: [Fonts]Fontconfig + patched qt-3.0.5 doesn't allow bitmap fixed font

2002-10-18 Thread ismail donmez
I have the same problem and I think this is because
fontconfig uses hinting for all fonts by default. I
*think* ( provided not sure ) turning hinting off
would solve the problem completely. But I dont know
how to turn off hinting completely in fonts.conf.
Maybe you know how?

This happened to me with xft1 too , and I used David
Chester's nohinting patch for Xft1 and it worked.

Hope that Helps

/ismail

=
Microsoft Windows: made for the internet
The Internet: made for UNIX

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Fontconfig + patched qt-3.0.5 doesn't allow bitmap fixed font

2002-10-18 Thread Paul de Vrieze
On Friday 18 October 2002 16:48, Owen Taylor wrote:
 Paul de Vrieze [EMAIL PROTECTED] writes:
  Yesterday I installed the XFt-2 enabled QT. Now running konsole (the kde
  terminal application) It started out with very wide characters (from
  arial) This is caused by the fact that the font selection mechanism
  refuses to match the -misc-fixed-medium-r-* bitmapped font. I've tried
  out several configurations but none helped (except aliassing to a
  monospaced font, not arial).
 
  I'll attach a log from starting konsole, and my font.conf file.

 Basically Konsole is looking for a font that isn't there so it
 falls back to the default. The only thing to do about this is
 to patch the hardcoded default fonts.

 The attached is a patch from the Red Hat 8 KDE packages to do
 this. (I'm not sure if it's the final version or not -- it's
 just what was sitting in my patches directory.) It uses
 'monospace' - the standard fontconfig name for the default
 monospace font - instead of 'fixed'

 For your own use, you can also just select a different font
 with the font selector in Konsole, of course.

I allready found the problem. The problem is the fact that the fixed font is 
not found. This is because all my pcf fonts are gzipped by default. For some 
reason fontconfig doesn't recognize them in this case. I will check whether I 
can come up with some patch for this.

Paul

-- 
Paul de Vrieze
Junior Researcher
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net

___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Fontconfig + patched qt-3.0.5 doesn't allow bitmap fixed font

2002-10-18 Thread Juliusz Chroboczek
 In article [EMAIL PROTECTED], Paul de Vrieze 
[EMAIL PROTECTED] writes:

PdV I allready found the problem. The problem is the fact that the
PdV fixed font is not found. This is because all my pcf fonts are
PdV gzipped by default. For some reason fontconfig doesn't recognize
PdV them in this case. I will check whether I can come up with some
PdV patch for this.

The problem is indeed at the FreeType level.  When I have some time,
I'll implement a decompressing filter for FreeType.  It will use
petabytes of memory, but will provide a short-term solution for people
with petabytes of memory.

The long-term solution is to dump the PCF format.  This won't happen
in time for 4.3.0.  (Not to imply that the former will.)

Juliusz
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Fontconfig + patched qt-3.0.5 doesn't allow bitmap fixed font

2002-10-18 Thread Paul de Vrieze

 The problem is indeed at the FreeType level.  When I have some time,
 I'll implement a decompressing filter for FreeType.  It will use
 petabytes of memory, but will provide a short-term solution for people
 with petabytes of memory.

 The long-term solution is to dump the PCF format.  This won't happen
 in time for 4.3.0.  (Not to imply that the former will.)


I allready checked the freetype lists, and came to the conclusion that appart 
from a short discussion in february nothing is being done about pcf files for 
that memory reasons. At the moment I uncompressed the fonts, but a real 
solution should be better.

Paul

-- 
Paul de Vrieze
Junior Researcher
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net

___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Fontconfig + patched qt-3.0.5 doesn't allow bitmap fixed font

2002-10-18 Thread Juliusz Chroboczek
PdV I allready checked the freetype lists, and came to the conclusion
PdV that appart from a short discussion in february nothing is being
PdV done about pcf files for that memory reasons.

  http://www.xfree86.org/pipermail/fonts/2002-August/002019.html

Juliusz
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts