[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] PDF2SWF 0.9.2 How to add TTF font
From: |
Yonglin Li |
Subject: |
Re: [Swftools-common] PDF2SWF 0.9.2 How to add TTF font |
Date: |
Fri, 4 Jan 2013 03:31:57 +0000 |
Hi, Matthias,
We got the code of the git version. But we have a lot problems in compiling it
under FreeBSD
FreeBSD 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #3: Sat Jul 21 00:07:51 CDT 2012
address@hidden:/usr/obj/usr/src/sys/GENERIC i386
We have to rip out the lame, gif2swf and other code to make it actually compile
properly.
The good thing is that we are fine for what we have because we are not using
gif2swf and lame at this moment. But we may need use that in the near future.
So do you have any time frame that the font bug will be removed and put will
then be put into the FreeBSD ports so that we can get the updated codes.
Or can you point to us which file we need modify to fix the issue that the
program strips the "Italic" off the font name, but leaves the "Bold" there. I
need use this tool very urgently. If you can tell us the file we need to
change, we can use the file from git version to replace the same file in the
official FreeBSD ports.
Thanks!
Yonglin
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Matthias Kramm
Sent: Wednesday, January 02, 2013 7:26 PM
To: address@hidden
Subject: Re: [Swftools-common] PDF2SWF 0.9.2 How to add TTF font
On Wed, Jan 02, 2013 at 02:53:57PM +0000, Yonglin Li <address@hidden> wrote:
> The debug info is dumped into a file. I grep all the lines with
> Verdana And something strange is that it said
>
> VERBOSE Adding font "/usr/local/share/swftools/fonts/bold/Verdana,Bold.ttf".
> VERBOSE Adding font
> "/usr/local/share/swftools/fonts/italic/Verdana,BoldItalic.ttf".
> DEBUG Adding font /usr/local/share/swftools/fonts/bold/Verdana,Bold.ttf to
> fontconfig
> DEBUG Adding font
> /usr/local/share/swftools/fonts/italic/Verdana,BoldItalic.ttf to fontconfig
>
> VERBOSE looking for font Verdana,Bold
> DEBUG FontConfig: Looking for font Verdana,Bold (family=Verdana style=Bold)
> VERBOSE Font Verdana,Bold maps to
> /usr/local/share/swftools/fonts/Verdana.ttf
> VERBOSE looking for font Verdana,BoldItalic
> DEBUG FontConfig: Looking for font Verdana,BoldItalic (family=Verdana,Bold
> style=Italic)
> VERBOSE Font Verdana,BoldItalic not found
> DEBUG Font Verdana,BoldItalic-27-0 has space char 0 (unicode=32)
> DEBUG Font Verdana,BoldItalic-27-0
> DEBUG | Name: Verdana,BoldItalic-27-0
You found a bug. It strips the "Italic" off the font name, but leaves the
"Bold" there.
Could you try the latest git version?
Matthias
---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an
existing subscription, please kindly point your favourite web browser
at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>