You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Angus Stewart <an...@ASCnet.COM> on 2003/01/13 22:49:23 UTC

Rotating Text Elements

Hello all,

I have looked over the list and have found references to the fact that
the reference-orientation element is not currently implemented, and the
suggestion that rotating text can be accomplished by embedding svg.
However, a cursory examination of svg seems to indicate that there is no
support for external fonts (as is currently supported in FOP).

So, if I wanted to include a sidebar on a regular PDF document (8.5 x 11
text running left to right), containing a non-standard font, with the
text running top to bottom, it looks like I'm out of luck...

My questions:

1.    To the best of your knowledge (as I know this is not the SVG list)
- Does SVG support external fonts?
2.    If reference-orientation were supported, would I be able to
accomplish my task?
3.    Will reference-orientation be supported in a future release? and,
if so, when?
4.    And, finally, any other suggestions for accomplishing this using
FOP?

My thanks,

Angus



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Rotating Text Elements

Posted by Jeremias Maerki <de...@greenmail.ch>.
On 13.01.2003 23:24:49 J.Pietschmann wrote:
> Angus Stewart wrote:
> > 1.    To the best of your knowledge (as I know this is not the SVG list)
> > - Does SVG support external fonts?
> You'll have to install your font with the AWT. I have no idea
> how easy or complicated this is. If you are running Unix+X it is
> probably enough to register the font with X. On Windows, it may
> be enough to drop the file into the font directory.

You could also try to set the strokeSVGText property to false. This will
delegate text painting to FOP (instead of Batik) which can use its own
fonts. Though with rotated text I've had my problems. The redesigned FOP
will do this a lot better in the future.

http://xml.apache.org/fop/svg.html

Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Rotating Text Elements

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Angus Stewart wrote:
> 1.    To the best of your knowledge (as I know this is not the SVG list)
> - Does SVG support external fonts?
You'll have to install your font with the AWT. I have no idea
how easy or complicated this is. If you are running Unix+X it is
probably enough to register the font with X. On Windows, it may
be enough to drop the file into the font directory.

> 3.    Will reference-orientation be supported in a future release?
Yes.

> and, if so, when?
Perhaps summer, but don't hold your breath.

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org