Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176327 - Certain applications don't use bytecode interpreter even with freetype-2.1.* -bindist installed
Summary: Certain applications don't use bytecode interpreter even with freetype-2.1.* ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-28 09:05 UTC by Stanley Wong
Modified: 2007-06-12 04:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stanley Wong 2007-04-28 09:05:27 UTC
This line in freetype-2.1.* ebuilds

  use bindist || append-flags -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER

makes freetype to use bytecode interpreter if "-bindist" is in USE flags.
However, this option is not defined in /usr/include/freetype2/freetype/config/ftoption.h.

Some packages like app-text/poppler do check this option in the header, and their support on bytecode interpreter will be disabled. This cause some PDF files to break if they are using "BCI-required fonts" like Mingliu.

Reproducible: Always

Steps to Reproduce:
1. emerge =freetype-2.1.10-r3
2. emerge poppler
3. Open a PDF file using Mingliu(usually Traditional Chinese pdf) with KPDF or Evince
4. Open the file using Acrobat Reader

Actual Results:  
You will notice the Chinese characters are broken in KPDF and Evince,
but they looks normal in Acrobat Reader.

Expected Results:  
Chinese characters in KPDF or Evince should look the same as they are in Acrobat Reader.

Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.3.6-r3, 2.6.19-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
Timestamp of tree: Thu, 12 Apr 2007 13:00:07 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.utdlug.org/linux/distributions/gentoo/ http://gentoo.inode.at/ ftp://gentoo.kems.net/mirrors/gentoo"
LANG="zh_TW"
LC_ALL="zh_TW.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/science /usr/portage/local/layman/gentoo-china /usr/portage/local/layman/gentoo-taiwan /usr/portage/local/layman/pro-audio /usr/portage/local/layman/java-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acpi alsa amd64 berkdb bitmap-fonts bzip2 cairo cdr cjk cli cracklib crypt cups dbus dlloader dts dvd dvdr eds emboss encode fam fftw firefox flac fortran gcj gdbm gif gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog ithreads jack jikes jpeg kde kdeenablefinal ladspa libg++ lm_sensors mad midi mikmod mozsvg mp3 mpeg mule musepack ncurses nls nptl nptlonly nsplugin nvidia ogg openexr opengl oss pam pcre perl pic png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session sndfile spell spl ssl tcpd theora truetype truetype-fonts type1-fonts unicode usb vorbis xcomposite xine xml xorg xv xvid xvmc zh_TW zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc 2007-04-28 10:28:17 UTC
Well, this is handled properly in freetype-2.3.x; would make more sense to stabilize that one (see Bug 173804).
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-12 04:14:42 UTC
As said above.