Package: xdvik-ja
Version: 22.84.13-j1.34-2.2
Severity: normal
Hi,
When using OpenType font(e.g., otf-ipafont), xdvik-ja can't display
some charactor correctly. The cause of this bug is freetype library.
- FT_Render_Glyph() return "invalid outline" at x86_64. see Bug#583868
I find patch fixed this bug in package of VineLinux.
Please apply this patch.
Regards.
---
Youhei SASAKI <[email protected]>
<[email protected]>
GPG fingerprint:
4096/RSA: 66A4 EA70 4FE2 4055 8D6A C2E6 9394 F354 891D 7E07
1024/DSA: 8BF1 ABFE 00D2 526D 6822 2AC6 13E0 381D AEE9 95F4
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.34 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xdvik-ja depends on:
ii fontconfig 2.8.0-2.1 generic font configuration library
ii libc6 2.11.1-1 Embedded GNU C Library: Shared lib
ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii libkpathsea5 2009-6 TeX Live: path search library for
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libt1-5 5.1.2-3 Type 1 font rasterizer library - r
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxaw7 2:1.0.7-1 X11 Athena Widget library
ii libxext6 2:1.1.1-3 X11 miscellaneous extension librar
ii libxmu6 2:1.0.5-1 X11 miscellaneous utility library
ii libxpm4 1:3.5.8-1 X11 pixmap library
ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library
ii texlive-binaries [tex 2009-6 Binaries for TeX Live
ii ttf-kochi-gothic [ttf 20030809-9 Kochi Subst Gothic Japanese TrueTy
ii ttf-kochi-mincho [ttf 20030809-9 Kochi Subst Mincho Japanese TrueTy
ii ttf-sazanami-gothic [ 20040629-8 Sazanami Gothic Japanese TrueType
ii ttf-sazanami-mincho [ 20040629-8 Sazanami Mincho Japanese TrueType
ii ttf-takao-pgothic [tt 003.02.01-2ubuntu1 Japanese TrueType font set, Takao
ii ttf-vlgothic [ttf-jap 20100416-2 Japanese TrueType font from Vine L
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages xdvik-ja recommends:
ii dvipsk-ja 5.98+p1.7b-1 DVI-to-PostScript translator with
xdvik-ja suggests no packages.
-- no debconf information
--- xdvik-22.84.14/texk/xdvik/ft2.c.orig 2009-07-20 16:16:58.832187000
+0900
+++ xdvik-22.84.14/texk/xdvik/ft2.c 2009-07-20 16:18:46.337114199 +0900
@@ -189,7 +189,12 @@
} /* We love plus % plus, we hate minus % plus. */
assert( xmax <= bm->bytes_wide );
- yoffset = ascend - g->bitmap_top;
+ if (g->bitmap_top == 0) {
+ yoffset = 0;
+ } else {
+ yoffset = ascend - g->bitmap_top;
+ }
+
if ( yoffset >= 0 ) { /* to down */
dst += yoffset * bm->bytes_wide;
if (ymax > bm->h - yoffset) ymax = bm->h - yoffset;