Package: transfig
Version: 1:3.2.5-alpha5-2
Severity: wishlist

If you export a .fig to ps/latex, fig2dev only allows a maximum font size of about 41. This can be fixed by changing the file

transfig-3.2.4-rel/fig2dev/dev/texfonts.h

replace the line:

#define TEXFONTSIZE(S)        (texfontsizes[((S) <= MAXFONTSIZE) ? round(S)\
                                                         : (MAXFONTSIZE-1))])

with

#define TEXFONTSIZE(S)   (S)

rebuilding transfig causes the specified font sizes to be passed through to the latex file. If you actually want to get different font sizes you also need a \usepackage{type1cm} somwhere in the tex file, eg

fig2eps -add=type1cm foo.fig

I obtained the solution here:

http://www.linuxgazette.com/issue96/artime.html

Yours

Joseph Maher


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages transfig depends on:
ii  libc6              2.3.2.ds1-22          GNU C Library: Shared libraries an
ii  libpng12-0         1.2.8rel-1            PNG library - runtime
ii  libx11-6           4.3.0.dfsg.1-14sarge1 X Window System protocol client li
ii  libxpm4            4.3.0.dfsg.1-14sarge1 X pixmap library
ii  xlibs              4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
ii  zlib1g             1:1.2.2-4.sarge.2     compression library - runtime

-- no debconf information


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to