[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#657295: marked as done (xfonts-wqy: wrong ascents and descents)



Your message dated Sat, 28 Jan 2012 13:49:29 +0000
with message-id <E1Rr8en-0004Gb-M4@franck.debian.org>
and subject line Bug#657295: fixed in xfonts-wqy 0.9.9-5
has caused the Debian Bug report #657295,
regarding xfonts-wqy: wrong ascents and descents
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
657295: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657295
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xfonts-wqy
Version: 0.9.9-4
Severity: important
Tags: upstream patch

FONT_ASCENT + FONT_DESCENT > PIXEL_SIZE (font height) in all sizes of
WenQuanYi Bitmap Song. This results in unusable fonts with urxvt. For example,

    urxvt -fn '8x16,-wenquanyi-wenquanyi bitmap song-medium-r-normal--16-160-75-75-p-80-iso10646-1'

and Chinese characters get rendered as tiny garbage. urxvt has more robust
handling with Xft, but still, with

    urxvt -fn '6x12,xft:WenQuanYi Bitmap Song:pixelsize=12'

the bottom pixels of Chinese characters get eaten.

The attached patch contains appropriate ascent and descent values. FYI, I used
this script to extract ascent and descent values for statistics (bdflib from
pypi).

    #!/usr/bin/python
    import sys
    from bdflib import reader

    bdf = reader.read_bdf(open(sys.argv[1]))
    for glyph in bdf.glyphs:
        ascent = glyph.get_ascent()
        descent = glyph.get_descent()
        print ascent, descent, ascent + descent


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfonts-wqy depends on:
ii  debconf [debconf-2.0]  1.5.41
ii  xfonts-utils           1:7.6+1

xfonts-wqy recommends no packages.

Versions of packages xfonts-wqy suggests:
ii  xserver-xorg [xserver]  1:7.6+10
ii  xvfb [xserver]          2:1.11.3.901-2

Demo program:
ii  rxvt-unicode           9.14-1

-- debconf information:
  xfonts-wqy/enable_wqy: true
diff -rud xfonts-wqy-0.9.9.old/wenquanyi_10ptb.bdf xfonts-wqy-0.9.9/wenquanyi_10ptb.bdf
--- xfonts-wqy-0.9.9.old/wenquanyi_10ptb.bdf	2007-11-04 13:28:14.000000000 +0800
+++ xfonts-wqy-0.9.9/wenquanyi_10ptb.bdf	2012-01-25 17:21:49.828030594 +0800
@@ -59,7 +59,7 @@
 FONTBOUNDINGBOX 14 14 0 -3
 STARTPROPERTIES 21
 FONT_ASCENT 12
-FONT_DESCENT 3
+FONT_DESCENT 1
 FONT_NAME "WenQuanYi Bitmap Song"
 FAMILY_NAME "WenQuanYi Bitmap Song"
 FOUNDRY "WenQuanYi"
diff -rud xfonts-wqy-0.9.9.old/wenquanyi_10pt.bdf xfonts-wqy-0.9.9/wenquanyi_10pt.bdf
--- xfonts-wqy-0.9.9.old/wenquanyi_10pt.bdf	2007-11-04 13:28:14.000000000 +0800
+++ xfonts-wqy-0.9.9/wenquanyi_10pt.bdf	2012-01-25 17:20:28.152902291 +0800
@@ -59,7 +59,7 @@
 FONTBOUNDINGBOX 13 14 0 -3
 STARTPROPERTIES 21
 FONT_ASCENT 12
-FONT_DESCENT 3
+FONT_DESCENT 1
 FONT_NAME "WenQuanYi Bitmap Song"
 FAMILY_NAME "WenQuanYi Bitmap Song"
 FOUNDRY "WenQuanYi"
diff -rud xfonts-wqy-0.9.9.old/wenquanyi_11ptb.bdf xfonts-wqy-0.9.9/wenquanyi_11ptb.bdf
--- xfonts-wqy-0.9.9.old/wenquanyi_11ptb.bdf	2007-11-04 13:28:14.000000000 +0800
+++ xfonts-wqy-0.9.9/wenquanyi_11ptb.bdf	2012-01-25 17:22:00.855912922 +0800
@@ -59,7 +59,7 @@
 FONTBOUNDINGBOX 16 16 -1 -3
 STARTPROPERTIES 22
 FONT_ASCENT 14
-FONT_DESCENT 4
+FONT_DESCENT 1
 FONT_NAME "WenQuanYi Bitmap Song"
 FAMILY_NAME "WenQuanYi Bitmap Song"
 FOUNDRY "WenQuanYi"
diff -rud xfonts-wqy-0.9.9.old/wenquanyi_11pt.bdf xfonts-wqy-0.9.9/wenquanyi_11pt.bdf
--- xfonts-wqy-0.9.9.old/wenquanyi_11pt.bdf	2007-11-04 13:28:14.000000000 +0800
+++ xfonts-wqy-0.9.9/wenquanyi_11pt.bdf	2012-01-25 17:20:40.936765867 +0800
@@ -59,7 +59,7 @@
 FONTBOUNDINGBOX 16 18 -1 -4
 STARTPROPERTIES 21
 FONT_ASCENT 14
-FONT_DESCENT 4
+FONT_DESCENT 1
 FONT_NAME "WenQuanYi Bitmap Song"
 FAMILY_NAME "WenQuanYi Bitmap Song"
 FOUNDRY "WenQuanYi"
diff -rud xfonts-wqy-0.9.9.old/wenquanyi_12ptb.bdf xfonts-wqy-0.9.9/wenquanyi_12ptb.bdf
--- xfonts-wqy-0.9.9.old/wenquanyi_12ptb.bdf	2007-11-04 13:28:14.000000000 +0800
+++ xfonts-wqy-0.9.9/wenquanyi_12ptb.bdf	2012-01-25 17:22:07.935837327 +0800
@@ -59,7 +59,7 @@
 FONTBOUNDINGBOX 17 17 -1 -3
 STARTPROPERTIES 21
 FONT_ASCENT 14
-FONT_DESCENT 4
+FONT_DESCENT 2
 FONT_NAME "WenQuanYi Bitmap Song"
 FAMILY_NAME "WenQuanYi Bitmap Song"
 FOUNDRY "WenQuanYi"
diff -rud xfonts-wqy-0.9.9.old/wenquanyi_12pt.bdf xfonts-wqy-0.9.9/wenquanyi_12pt.bdf
--- xfonts-wqy-0.9.9.old/wenquanyi_12pt.bdf	2007-11-04 13:28:14.000000000 +0800
+++ xfonts-wqy-0.9.9/wenquanyi_12pt.bdf	2012-01-25 17:20:52.684640479 +0800
@@ -59,7 +59,7 @@
 FONTBOUNDINGBOX 16 19 0 -4
 STARTPROPERTIES 21
 FONT_ASCENT 14
-FONT_DESCENT 4
+FONT_DESCENT 2
 FONT_NAME "WenQuanYi Bitmap Song"
 FAMILY_NAME "WenQuanYi Bitmap Song"
 FOUNDRY "WenQuanYi"
diff -rud xfonts-wqy-0.9.9.old/wenquanyi_9ptb.bdf xfonts-wqy-0.9.9/wenquanyi_9ptb.bdf
--- xfonts-wqy-0.9.9.old/wenquanyi_9ptb.bdf	2007-11-04 13:28:14.000000000 +0800
+++ xfonts-wqy-0.9.9/wenquanyi_9ptb.bdf	2012-01-25 06:36:21.378525754 +0800
@@ -59,8 +59,8 @@
 FONTBOUNDINGBOX 13 13 0 -2
 STARTPROPERTIES 27
 FONT_NAME "WenQuanYi Bitmap Song"
-FONT_ASCENT 12
-FONT_DESCENT 3
+FONT_ASCENT 11
+FONT_DESCENT 1
 UNDERLINE_POSITION -3
 UNDERLINE_THICKNESS 1
 QUAD_WIDTH 12
diff -rud xfonts-wqy-0.9.9.old/wenquanyi_9pt.bdf xfonts-wqy-0.9.9/wenquanyi_9pt.bdf
--- xfonts-wqy-0.9.9.old/wenquanyi_9pt.bdf	2007-11-04 13:28:14.000000000 +0800
+++ xfonts-wqy-0.9.9/wenquanyi_9pt.bdf	2012-01-25 06:36:10.090559668 +0800
@@ -59,8 +59,8 @@
 FONTBOUNDINGBOX 12 14 0 -3
 STARTPROPERTIES 28
 FONT_NAME "WenQuanYi Bitmap Song"
-FONT_ASCENT 12
-FONT_DESCENT 3
+FONT_ASCENT 11
+FONT_DESCENT 1
 UNDERLINE_POSITION -3
 UNDERLINE_THICKNESS 1
 QUAD_WIDTH 12

--- End Message ---
--- Begin Message ---
Source: xfonts-wqy
Source-Version: 0.9.9-5

We believe that the bug you reported is fixed in the latest version of
xfonts-wqy, which is due to be installed in the Debian FTP archive:

xfonts-wqy_0.9.9-5.debian.tar.gz
  to main/x/xfonts-wqy/xfonts-wqy_0.9.9-5.debian.tar.gz
xfonts-wqy_0.9.9-5.dsc
  to main/x/xfonts-wqy/xfonts-wqy_0.9.9-5.dsc
xfonts-wqy_0.9.9-5_all.deb
  to main/x/xfonts-wqy/xfonts-wqy_0.9.9-5_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 657295@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@debian.org> (supplier of updated xfonts-wqy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 28 Jan 2012 14:21:56 +0100
Source: xfonts-wqy
Binary: xfonts-wqy
Architecture: source all
Version: 0.9.9-5
Distribution: unstable
Urgency: low
Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description: 
 xfonts-wqy - WenQuanYi Bitmap Song CJK font for X
Closes: 476130 657295
Changes: 
 xfonts-wqy (0.9.9-5) unstable; urgency=low
 .
   * Adopt package in the pkg-fonts team. Closes: #476130
   * Use quilt for patches
   * Bump debhelper compatibility to 8
   * Use dh7-style minimal rules file
   * Updates Standards to 3.9.2 (checked)
   * Fix ascent and descent. Thanks to Lingzhu Xiang for
     the patch. Closes: #657295
Checksums-Sha1: 
 2a2bdc84ead22a399cc4c3390ef1d81feae749a7 1820 xfonts-wqy_0.9.9-5.dsc
 7fe369511ef244a6e885744f3f1d92d8aa640f8f 6610742 xfonts-wqy_0.9.9.orig.tar.gz
 9bf6f9691ed5efae9af1964314ac8beb076297e3 14003 xfonts-wqy_0.9.9-5.debian.tar.gz
 4bd3091225604230afa9d36b13a00de762001b36 6557744 xfonts-wqy_0.9.9-5_all.deb
Checksums-Sha256: 
 de37a2662dbb2e84eb679933ed7cb6664b196a4475c6727671350786789b3e71 1820 xfonts-wqy_0.9.9-5.dsc
 16ec5207c2a0b9f555637c0721ec17408d7429b0950f0b728d99a03daae3f630 6610742 xfonts-wqy_0.9.9.orig.tar.gz
 6dcc9b28e22ae6e7922137b7855c7820ff2ef4e5c3c8a951b292ecab87990af3 14003 xfonts-wqy_0.9.9-5.debian.tar.gz
 ef72fe8dc14369fa179d6353b0b949b566cc8913457403fad7f4849c416965a9 6557744 xfonts-wqy_0.9.9-5_all.deb
Files: 
 7bdb7e85e35ad1e501431c7d1731ea15 1820 fonts optional xfonts-wqy_0.9.9-5.dsc
 12188783fd1d24396d38dc47a0a91f3c 6610742 fonts optional xfonts-wqy_0.9.9.orig.tar.gz
 3923f745e293547c02b4869fbcf236dd 14003 fonts optional xfonts-wqy_0.9.9-5.debian.tar.gz
 78bb99801c304f605effb4ff89449777 6557744 fonts optional xfonts-wqy_0.9.9-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIVAwUBTyP5QYcvcCxNbiWoAQI8eg//XsNpBasUoo2OdbjrPJBflQzygpDgYL2u
oN+724Et5njZePzCPJ+a5TrbG1NArDM7BRFj37uFbmO/5tTEBoDhiFK7XTqdyYhO
siUAXW0hxKK8mCyjcDxdsCog2+cel8x6mqKdUBzk2o7PI0SNTgXTVRhmYW8zujc1
JViCGBeOhFud1h8XfN69IHl3q4uu680GKJnJUGHCCrsjzmDAj2C2benHMymI3U4y
lNO+ahec7Tduz3nQLZNywOBzCQnwzbrlJ84n9n2Z784OT/UrQXWnnYVSpnaNNp19
QzgHnbf1KRd5U8HDIc7acqBWY3jwMvQJVElygk5CANMwVYlBAZ+Aiie+tuMwbHx9
dZLUx/8JpBiAaZllzEdOmBjTAdpfgqhXCs24o6KntZE+gweGFCS1RIc+LUG0rqbY
Qxq+0aHE0VvKTOP1ZLrpbZp5YN5qspwTNDPrqhUENq4+Gl+qoSzEVLAqAbkIxuNc
jKPZEMMiIYYCB7b+iRyDKIhyySTGASmJqpQ9vuHGC9QmlENEObTym5wK49WcFq82
HFI0XaaDFcGlhOX0pWuYTLrX0w6bl2EzNfxiRFAI9A1iInN6zgq4icKvyTGSaL4e
2Ppt4utPjkN+cmfPCdigyWfmy8V7B8unPDYKxDnAsVk7i2+eFuuB1z+2QsvKEkmR
D4aHkUJiBBQ=
=7BzS
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: