From Mageia wiki
Jump to: navigation, search
$ urpmq -i libt1lib5
Name        : libt1lib5
Version     : 5.1.2
Release     : 9.mga1
Group       : System/Libraries
Size        : 743090                       Architecture: i586
Source RPM  : t1lib-5.1.2-9.mga1.src.rpm
URL         : ftp://sunsite.unc.edu/pub/Linux/libs/graphics/
Summary     : Type 1 font rasterizer
Description :
T1lib is a library for generating character and string-glyphs from
Adobe Type 1 fonts under UNIX. T1lib uses most of the code of the X11
rasterizer donated by IBM to the X11-project. But some disadvantages
of the rasterizer being included in X11 have been eliminated.  T1lib
also includes a support for antialiasing.
SRPM: t1lib

x86_64: 
lib64t1lib5
lib64t1lib-devel
lib64t1lib-static-devel
t1lib-config
t1lib-progs

i586:
libt1lib5
libt1lib-devel
libt1lib-static-devel
t1lib-config
t1lib-progs
$ urpmf t1lib-progs
t1lib-progs:/usr/bin/type1afm
t1lib-progs:/usr/bin/xglyph
t1lib-progs:/usr/share/doc/t1lib-progs
t1lib-progs:/usr/share/doc/t1lib-progs/README.t1python

We don't have man entries for these but from elsewhere..

xglyph(1) - Linux man page
Name
xglyph - demonstration program for the t1lib font rasterizer library.

Synopsis
xglyph [ fontfile... ]

Description
This manual page documents briefly the xglyph program. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.

xglyph is a program which demonstrates the capabilities of the t1lib library. It allows the user to view an arbitrary character or string rendered in the various ways pgossible with the library. By default, it writes a log file named t1lib.log in the current directory.

If invoked with no arguments, it will attempt to read the global configuration file and font database. It will also accept any number of filenames on the command line, in which case these are treated as font files to be loaded instead of the default font database.
Options

--help
    Shows a brief help text 
--Help
    Shows a description of all options 
--noGrid
    Don't draw grid lines when displaying glyphs 
--setPad
    Set bitmap padding 
--logError
    Log errors only 
--logWarning
    Log errors and warnings 
--logStatistic
    Log errors, warnings, and statistics 
--logDebug
    Log just about everything 
--ignoreForceBold
    Don't make pseudo-boldface glyphs 
--ignoreFamilyAlignment
--ignoreHinting
    Ignore hints when scaling glyphs 
--debugLine
    Show debugging info for line-drawing operations in the rasterizer 
--debugRegion
    Show debugging info for region operations in the rasterizer 
--debugPath
    Show debugging info for path operations in the rasterizer 
--debugFont
--debugHint
    Show debugging info for hinting in the rasterizer. 
--checkPerformance
    Do some simple performance tests while rasterizing. 
--checkCopyFont
    Check that copying fonts works. 
--checkConcatGlyphs
    Check that concatenating glyphs works. 
--checkBadCharHandling
--checkDefaultEncoding
    Set a default encoding vector.

Testing..

$ urpmq --whatrequires lib64t1lib5
abiword
lib64gtkmathview0
lib64t1lib-devel
lib64t1lib5
lib64t1lib5
lib64xpdf0
perl-Imager
php-gd
php-gd
php-gd
php-gd-bundled
t1lib-progs
t1lib-progs
texlive
zoom

Testing using abiword under strace to show it loading the library

$ strace -o strace.out abiword

$ grep t1 strace.out
open("/usr/lib64/libt1.so.5", O_RDONLY) = 7

$ rpm -qif /usr/lib64/libt1.so.5
Name        : lib64t1lib5                  Relocations: (not relocatable)
Version     : 5.1.2                             Vendor: Mageia.Org
Release     : 9.2.mga1                      Build Date: Tue 03 Jan 2012
11:11:52 GMT
Install Date: Mon 09 Jan 2012 10:34:42 GMT      Build Host: jonund
Group       : System/Libraries              Source RPM:
t1lib-5.1.2-9.2.mga1.src.rpm

If no errors shown when run without strace then it should be safe to validate.


Return to the QA portal