Re: Vertical text
Andreas Delmelle wrote: The most clever way I can think of in pure XSL-FO to mimic that would be to inject linefeed-characters in the stylesheet, so it generates FO like: linefeed-treatment="preserve">l i k e t h i s . Should work nicely. Another trick might be to make an fo:block sufficiently small and just add spaces between the letters. -- Abel Braaksma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Vertical text
Amick, Eric wrote: I want to put some text in the region-start that is written vertically, [...] I've played with writing-mode and reference-orientation, but I can't quite get that effect. Am I going to have to resort to putting the individual characters in fo:character elements, or is there a cleverer way to do it? What's "clever?" A generic approach to problems which are hard to solve in FO is to embed a SVG. Eric Amick Legislative Computer Systems Office of the Clerk Sounds quite officially! :-) J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Vertical text
On Jan 24, 2008, at 22:15, Amick, Eric wrote: Hi I want to put some text in the region-start that is written vertically, i.e., l i k e t h i s . I've played with writing-mode and reference-orientation, but I can't quite get that effect. Which combinations did you try exactly? Reference-orientation is of no use by itself, since it will rotate the whole sentence instead of the individual characters. Just noticed that our compliance page indicates none of the writing- mode related properties to be implemented [*] OTOH, I do seem to remember reading reports from users working with different writing-modes with success (could be wrong) [*] http://xmlgraphics.apache.org/fop/compliance.html#fo-property- writingmode-section Am I going to have to resort to putting the individual characters in fo:character elements, or is there a cleverer way to do it? The most clever way I can think of in pure XSL-FO to mimic that would be to inject linefeed-characters in the stylesheet, so it generates FO like: treatment="preserve">l i k e t h i x0A;s . Should work nicely. HTH! Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Vertical text
I want to put some text in the region-start that is written vertically, i.e., l i k e t h i s . I've played with writing-mode and reference-orientation, but I can't quite get that effect. Am I going to have to resort to putting the individual characters in fo:character elements, or is there a cleverer way to do it? Eric Amick Legislative Computer Systems Office of the Clerk
RE: Vertical text
Hi, For that you need svg. Try this: http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; width="7" height="250"> Your text here Pascal De : Jian Yang [mailto:[EMAIL PROTECTED] Envoyé : mardi 2 août 2005 01:59 Thanks for the solution, what if I also want to rotate each letter, ie vertical text with letter also rotated 90 degree? Jian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Vertical text
Thanks for the solution, what if I also want to rotate each letter, ie vertical text with letter also rotated 90 degree? Jian From: Jay Bryant [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 3:55 PMTo: fop-users@xmlgraphics.apache.orgSubject: Re: Vertical text Just put each character (or word or whatever unit of text you like) in its own block, thus: Make Me Vertical Depending on the properties of the flow containing the blocks, you may also need to set position attributes, but I think the default values stack blocks vertically. Jay Bryant Bryant Communication Services - Original Message - From: Jian Yang To: fop-users@xmlgraphics.apache.org Sent: Monday, August 01, 2005 5:13 PM Subject: Vertical text Hi, I am trying to hand-code a FO file, then convert to PDF using FOP(fop-0.20.5), does anyone know how to output a vertical text? Thanks Jian This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact [EMAIL PROTECTED] immediately and permanently delete the original and any copies of this email and any attachments thereto.
Re: Vertical text
On Aug 2, 2005, at 00:54, Jay Bryant wrote: Just put each character (or word or whatever unit of text you like) in its own block, thus: Cool! :) How come this idea's not mentioned in the FAQ yet?!? Damn', first thing I thought of was SVG, but this: a native XSL-FO solution. Nice one. Greetz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Vertical text
Just put each character (or word or whatever unit of text you like) in its own block, thus: Make Me Vertical Depending on the properties of the flow containing the blocks, you may also need to set position attributes, but I think the default values stack blocks vertically. Jay Bryant Bryant Communication Services - Original Message - From: Jian Yang To: fop-users@xmlgraphics.apache.org Sent: Monday, August 01, 2005 5:13 PM Subject: Vertical text Hi, I am trying to hand-code a FO file, then convert to PDF using FOP(fop-0.20.5), does anyone know how to output a vertical text? Thanks Jian This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact [EMAIL PROTECTED] immediately and permanently delete the original and any copies of this email and any attachments thereto.
Vertical text
Hi, I am trying to hand-code a FO file, then convert to PDF using FOP(fop-0.20.5), does anyone know how to output a vertical text? Thanks Jian This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact [EMAIL PROTECTED] immediately and permanently delete the original and any copies of this email and any attachments thereto.