Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232815 - suggestions: build app-text/pdf with -t1lib and -freetype
Summary: suggestions: build app-text/pdf with -t1lib and -freetype
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-24 03:09 UTC by ivo welch
Modified: 2011-10-02 21:29 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 ivo welch 2008-07-24 03:09:54 UTC
the xpdf on the foolabs download site builds with two extra command line options (-t1lib and -freetype).  use "xpdf -h" to view them.  on my 2560x1600 monitor using these flags shows *much* better looking pdf output.  I checked into this a little more.  I looked at the use flags that xpdf and poppler are honoring, but did not see either t1lib or freetype in there.  (In fact, I added these flags into make.conf, even though I do not think they are in use.)

of course, maybe this is just my font inexperience---fonts seem to be a terrible mess in the worlds of computers---but I figured I would just let everyone know of the easy solution of using the statically linked binary.  This may improve the linux experience of the less experienced linux users. ;-).

if someone knows what I have done wrong, I would be curious to learn it, too, however.

/iaw

Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26 x86_64)
=================================================================
System uname: 2.6.26 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Tue, 22 Jul 2008 22:04:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -pipe -O2"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://adelie.polymtl.ca/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LC_ALL="POSIX"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="# #mysql 3dnow X aac aalib acl acpi alsa amd64 apache2 arts asf atlas audio berkdb bitmap-fonts blas bluetooth bonobo branding bzip2 bzlib cairo calendar cddb cdr cli cracklib crypt cups curl dbus directfb dri dv dvd dvdr dvdread eds emacs emboss encode esd evo examples f77 fam fbcon ffmpeg firefox fortran freetype ftp g77 gcj gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hdhomerun iconv ieee1394 imagemagick imlib ipv6 isdnlog java javascript jpeg kde kdeenablefinal kerberos ldap libedit libnotify libwww lm_sensors mad mbox midi mikmod mime mmx mmx2 mono motif mozilla mp3 mpeg mpeg-4 mudflap multilib mval nas ncurses networking nls nptl nptlonly nsplugin ogg opengl openmp pam pcm pcre pdf perl png postgres ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection ruby samba scanner sdl server session slang snmp soap spell spl sse sse2 ssl startup-notification svg symlink t1lib tcltk tcpd tidy tiff tightvnc truetype type1 unicode usb utempter vnc vorbis wma xinerama xml xml2 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="video_cards_nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

my /etc/fonts/local.conf:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
  Enable sub-pixel rendering
        <match target="font">
                <edit name="rgba" mode="assign"><const>rgb</const></edit>
        </match>
<dir>/usr/local/texmf-local/fonts/type1/bh/lucida/</dir>
<dir>/usr/local/texmf-local/fonts/type1/adobe-type-basics/</dir>
</fontconfig>
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-10-02 21:29:43 UTC
I dont know about T1lib, but poppler most certainly links to freetype now. I guess this issue is obsolete.