[This e-mail has been automatically generated.]  
 
http://bugs.xfree86.org//cgi-bin/bugzilla/show_bug.cgi?id=93    
    
           Summary: Corrupted BDFs generated when using fstobdf on a XFree86
                    xfs
           Product: Fonts
           Version: 4.1
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: XFS
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Using XFree86-xfs-4.1.0-3 (on RedHat Linux 7.2):
fstobdf generates a bad BDF font file when acessing a XFree86 xfs.
The BITMAP part of the character description are corrupted.
Consequently, re-generating a PCF from these BDFs (using bdftopcf) results in a 
fully different and corrupted font.
The X Fonts Server is the buggy component, not fstobdf : 
- using XFree86 fstobdf accessing a non-XFree86 X font Server generates a 
correct BDF
- using XFree86 fstobdf accessing a XFree86 X font Server generates an incorrect 
BDF
- using a non-XFree86 fstobdf accessing a XFree86 X font Server generates an 
incorrect BDF
- using a non-XFree86 fstobdf accessing a non-XFree86 X font Server generates a 
correct BDF

Note this could not be tested on a newer version of XFree86, as not available in 
my company ...


APPENDIX 1 : 
The configuration file used to start xfs is as follows 
#
# Default font server configuration file for Red Hat Linux
#

# allow a max of 10 clients to connect to this font server
client-limit = 10

# when a font server reaches its limit, start up a new one
#clone-self = on

# alternate font servers for clients to use
#alternate-servers = foo:7101,bar:7102

# where to look for fonts
#
catalogue = /usr/X11R6/lib/X11/fonts/100dpi

# in 12 points, decipoints
default-point-size = 120

# 100 x 100 and 75 x 75
default-resolutions = 75,75,100,100

# use lazy loading on 16 bit (usually Asian) fonts
deferglyphs = 16

# how to log errors
use-syslog = on

# don't listen to TCP ports by default for security reasons
#no-listen = tcp

APPENDIX 2 : 
lucidasans-14.bdf_NOK : the incorrect BDF generated using XFree86-xfs-4.1.0-3 
for font lucidasans-14
Below an extract of the file (characters A-D)
...
STARTCHAR A
ENCODING 65
SWIDTH 720 0
DWIDTH 14 0
BBX 13 14 0 0
BITMAP
8020
0000
8020
0000
8020
0000
8020
0000
8020
0000
aaa0
aaa0
0000
8020
ENDCHAR
STARTCHAR B
ENCODING 66
SWIDTH 617 0
DWIDTH 12 0
BBX 9 14 2 0
BITMAP
0000
8000
0000
8000
0000
8000
0000
8000
0000
aa80
aa80
0000
8000
0000
ENDCHAR
STARTCHAR C
ENCODING 67
SWIDTH 720 0
DWIDTH 14 0
BBX 12 14 1 0
BITMAP
8020
0000
8020
0000
8020
0000
8020
0000
aaa0
aaa0
0000
8020
0000
8020
ENDCHAR
STARTCHAR D
ENCODING 68
SWIDTH 771 0
DWIDTH 15 0
BBX 12 14 2 0
BITMAP
0000
8020
0000
8020
0000
8020
0000
aaa0
aaa0
0000
8020
0000
8020
0000
ENDCHAR
...


lucidasans-14.bdf_OK : the correct BDF generated using another xfs (COMPAQ 
Digital Unix 4.0f) for font lucidasans-14
Below an extract of the file (characters A-D)
STARTCHAR A
ENCODING 65
SWIDTH 720 0
DWIDTH 14 0
BBX 13 14 0 0
BITMAP
0700
0700
0f80
0d80
0d80
18c0
18c0
30e0
3fe0
3fe0
6030
6030
e030
c018
ENDCHAR
STARTCHAR B
ENCODING 66
SWIDTH 617 0
DWIDTH 12 0
BBX 9 14 2 0
BITMAP
fc00
fe00
c300
c300
c300
c600
fc00
fe00
c380
c180
c180
c380
ff00
fe00
ENDCHAR
STARTCHAR C
ENCODING 67
SWIDTH 720 0
DWIDTH 14 0
BBX 12 14 1 0
BITMAP
0fe0
3ff0
7810
6000
e000
c000
c000
c000
c000
e000
6000
7810
3ff0
0fc0
ENDCHAR
STARTCHAR D
ENCODING 68
SWIDTH 771 0
DWIDTH 15 0
BBX 12 14 2 0
BITMAP
ff00
ffc0
c1e0
c060
c030
c030
c030
c030
c030
c030
c060
c0e0
ffc0
ff00
ENDCHAR    
    
    
    
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to