Re: Wrapping long character strings

2006-09-13 Thread Wyatt Tellis
Do you know if there are plans to update the XSL-FO standard to give 
better control over wrapping? It seems that something like this really 
shouldn't fall under the category of hyphenation.


-Wyatt


Jeremias Maerki wrote:

overflow won't help here. wrap-option only controls whether to wrap or
not, not how to wrap. XSL-FO uses country, language and script to
indirectly specify how line-breaking should be done. script is not
supported and country/language are currently only used to select the
right hyphenation pattern file. It's currently not possible to better
control how line breaking is done.

The only possible thing is to try to write a hyphenation pattern file
which will allow you to better specify additional word-breaking points.
I've never done that myself, but there should be some documentation on
the web (the patterns are originally from TeX) and I think some ideas
have been thrown around on this mailing list before. So searching the
archives might help. At any rate, there's no easy way.

On 10.09.2006 16:56:46 Wyatt Tellis wrote:
The asterisks are only one example. What about other character strings? 
Unfortunately I have no control over what data is put in the report, but 
I have to make sure that all characters are presented to the reader. I 
can implement the (#x200B;) workaround, but would prefer a FO only 
solution. Is there some value of either the overflow or wrap-option 
attributes that might help with this situation? I'm trying to emulate 
the behavior of apps such as MS Word or Notepad that do the line 
wrapping automatically (I really don't want hyphenation because these 
are not true English words).


-Wyatt

Jeremias Maerki wrote:

I'd have to look up whether according to UAX#14/TR14 we would be allowed
to break between two * characters in the first place. Not that FOP
already implements the full rule set, yet! At any rate, I'd try to
insert a zero-width space (#x200B;) after each * character to allow
for breaks in between. Maybe that helps.

On 09.09.2006 04:43:02 Wyatt Tellis wrote:
I'm building a medical report printing application and I'm having 
trouble forcing long characters strings (not really words) to wrap. FOP 
gives the error: Line 1 of a paragraph overflows the available area. 
(fo:block...  For example I may have a series of 80 '*' characters. I 
would like to have that string wrap to 2 lines instead of  continuing 
over the edge of the page.  Per the wiki 
(http://wiki.apache.org/xmlgraphics-fop/Troubleshooting/CommonLogMessages), 
I've tried using the wrap-option and overflow attributes to get the 
strings to wrap with no luck. Hyphenation doesn't work either. I'm using 
0.92.beta. Is there a way to get this to work in FOP?



Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: pict file

2006-09-12 Thread Wyatt Tellis
I've used JIMI (http://java.sun.com/products/jimi/) to write PICT files, 
but never from within FOP.


-Wyatt

narendra babu wrote:

hello everybody,
 
is there anybody who have some knowledge on PICT file.



Find out what India is talking about on - Yahoo! Answers India 
http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. 
Get it NOW 
http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: pict file

2006-09-12 Thread Wyatt Tellis
I'm afraid I don't know the answers to your specific questions, but 
maybe this site might be of use:


http://developer.apple.com/documentation/mac/QuickDraw/QuickDraw-2.html

I used it when fixing some PICT related bugs with JIMI.

-Wyatt

narendra babu wrote:
ok, no prob sir, i am using C-code to extract the data present in the 
pict file, can u just give me the hint how to extract where in the file 
the image data is present. also the icc profile present in the file. 
after all the headers of the pict file does the image data starts or 
profile starts, if the image is present in the file, i want to extract 
the size also, so whether the size will be specified in the file or 
should we calculate with the help of x and y axis present in the header.


*/Wyatt Tellis [EMAIL PROTECTED]/* wrote:

I've used JIMI (http://java.sun.com/products/jimi/) to write PICT
files,
but never from within FOP.

-Wyatt

narendra babu wrote:
  hello everybody,
 
  is there anybody who have some knowledge on PICT file.
 
 

  Find out what India is talking about on - Yahoo! Answers India
 
  Send FREE SMS to your friend's mobile from Yahoo! Messenger
Version 8.
  Get it NOW
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Find out what India is talking about on - Yahoo! Answers India 
http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. 
Get it NOW 
http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wrapping long character strings

2006-09-10 Thread Wyatt Tellis
The asterisks are only one example. What about other character strings? 
Unfortunately I have no control over what data is put in the report, but 
I have to make sure that all characters are presented to the reader. I 
can implement the (#x200B;) workaround, but would prefer a FO only 
solution. Is there some value of either the overflow or wrap-option 
attributes that might help with this situation? I'm trying to emulate 
the behavior of apps such as MS Word or Notepad that do the line 
wrapping automatically (I really don't want hyphenation because these 
are not true English words).


-Wyatt

Jeremias Maerki wrote:

I'd have to look up whether according to UAX#14/TR14 we would be allowed
to break between two * characters in the first place. Not that FOP
already implements the full rule set, yet! At any rate, I'd try to
insert a zero-width space (#x200B;) after each * character to allow
for breaks in between. Maybe that helps.

On 09.09.2006 04:43:02 Wyatt Tellis wrote:
I'm building a medical report printing application and I'm having 
trouble forcing long characters strings (not really words) to wrap. FOP 
gives the error: Line 1 of a paragraph overflows the available area. 
(fo:block...  For example I may have a series of 80 '*' characters. I 
would like to have that string wrap to 2 lines instead of  continuing 
over the edge of the page.  Per the wiki 
(http://wiki.apache.org/xmlgraphics-fop/Troubleshooting/CommonLogMessages), 
I've tried using the wrap-option and overflow attributes to get the 
strings to wrap with no luck. Hyphenation doesn't work either. I'm using 
0.92.beta. Is there a way to get this to work in FOP?




Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Wrapping long character strings

2006-09-08 Thread Wyatt Tellis
I'm building a medical report printing application and I'm having 
trouble forcing long characters strings (not really words) to wrap. FOP 
gives the error: Line 1 of a paragraph overflows the available area. 
(fo:block...  For example I may have a series of 80 '*' characters. I 
would like to have that string wrap to 2 lines instead of  continuing 
over the edge of the page.  Per the wiki 
(http://wiki.apache.org/xmlgraphics-fop/Troubleshooting/CommonLogMessages), 
I've tried using the wrap-option and overflow attributes to get the 
strings to wrap with no luck. Hyphenation doesn't work either. I'm using 
0.92.beta. Is there a way to get this to work in FOP?


TIA,

Wyatt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]