[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Editable text with pdf2swf

From: Ben Broadhurst
Subject: Re: [Swftools-common] Editable text with pdf2swf
Date: Mon, 26 Apr 2010 09:52:21 +0100
User-agent: Thunderbird (Windows/20100228)

With regard to the fonts, you can get information about their size, position, and font names by using pdf2text from pdftron.com ($250 USD) that gives output like x, y, width, height, font, rotation, font size, word:

112.313, 599.305, 346.255, 78.3017, "MJCPFJ+Impact", , 10, "SHOE GUIDE"
66.8296, 611.741, 15.6389, 69.6441, "MJCPFJ+Impact", , 7, "SPRING "
81.6285, 611.741, 23.4584, 65.4371, "MJCPFJ+Impact", , 4, "2010"
468.808, 662.239, 98.1003, 13.625, "MJCPFJ+Impact", , 16, " BY KEVIN FONGER"

just in case it helps,

Anders Gunnarsson wrote:
Ok thanks. Swfdump seems to give me some useful information
about the swf content.

Though I don't understand if it's possible to use the font information
to make embedded fonts in the swf file, enabling me to create dynamic / input textfields.

If I would use device font, that limits me to the users installed font,
and what I can see from the swfdump info I can't even see the name of the font (only gives me a bunch of coordinates and splines)

On Fri, Apr 23, 2010 at 4:27 AM, Chris Pugh <address@hidden <mailto:address@hidden>> wrote:

    On 22 April 2010 16:33, Anders Gunnarsson <address@hidden
    <mailto:address@hidden>> wrote:
    > Is there a way to make text fron the pdf into dynamic/editable
    textfields in
    > the swf?

    Not that I know of, though I can see no reason why it could not be
    done by
    replacing one object with another.

    > Or maybe even just making some kind of report what text fields
    are on a
    > page, the bounding box and font information like text-size,
    boldness, font-family.

    > regards
    > Anders

    swfdump; and ;swfstrings; to a point, do exactly that, don't they?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]