Embedding WinAnsi-Encoded font

2004-05-02 Thread Zhong Yi
I have been using embedded fonts with and without -enc
ansi option. I noticed the PDF file size is much
larger with ansi option thant that without ansi
option.
Does anyone have the same issue?
And how do you get around this?
The reason I want ansi font encoding is because
without it, the text is no aligned correct between
rows when you build table.

George




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

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



Re: How to repeat subtitle onto the following pages

2004-04-01 Thread Zhong Yi
I would use multiple page sequences.
The first page sequence just generate one page with
the Equity header in region-before. The second
sequence will generate the rest pages with Equity
Continues... in region-before. 
You need to determine how many rows you can dump into
first page in advance.

George

--- Jay Chiu [EMAIL PROTECTED] wrote:
 Hi,
 
 I need to generate a report with subtitles and
 details as table
 rows. Each subtitle row may be followed by many
 detail rows,
 which may span multiple pages. But we want to add
 the same
 subtitle on the beginning of the following pages
 with some
 additional text as Continue... or even relative
 page number.
 
 Can someone give me some advice on how to implement
 this kind of
 report?
 
 For example, suppose we have two mutual funds, and
 each with
 many stock/bonds. then the report pages would look
 like:
 
 Page 1:
 Equity Fund
stock 1.1 | price | number_of_shares |
 total_amount
stock 1.2 | price | number_of_shares |
 total_amount
..
stock 1.n | price | number_of_shares |
 total_amount
 Page 2:
 Equity Fund Continue... Page 2
stock 2.1 | price | number_of_shares |
 total_amount
stock 2.2 | price | number_of_shares |
 total_amount
..
stock 2.n | price | number_of_shares |
 total_amount
 Page 3:
 Equity Fund Continue... Page 3
stock 3.1 | price | number_of_shares |
 total_amount
stock 3.2 | price | number_of_shares |
 total_amount
..
stock 3.m | price | number_of_shares |
 total_amount
 
 Fixed Income Fund
bond 1.1 | Price | Yield | total_amount
...
bond 1.n | Price | Yield | total_amount
 
 Page 4:
Fixed Income Fund Continue... Page 2
bond 2.1 | Price | Yield | total_amount
...
bond 2.n | Price | Yield | total_amount
 
 Page 5:
Fixed Income Fund Continue... Page 3
bond 3.1 | Price | Yield | total_amount
...
bond 3.n | Price | Yield | total_amount
 
 
 Thanks a lot.
 
 Jay
 
 
 
 Get your own 800 number
 Voicemail, fax, email, and a lot more
 http://www.ureach.com/reg/tag
 

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


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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



SVG output special character

2003-11-12 Thread Zhong Yi
I am trying to create a SVG output from fo, but the
special charaters are not handled exactly as I
expected.
FOP added several white spaces after it. The fo is
very simple, just have one special character ' in
it.
If you look at the SVG, it actually break one word
into two lines.

Anyone knows how to get around this?

Here is the fo
?xml version=1.0 encoding=utf-8?

!-- example for a simple fo file. At the beginning
the page layout is set. 
  Below fo:root there is always 
- a single fo:layout-master-set which defines one or
more page layouts
- an optional fo:declarations 
- and a sequence of one or more fo:page-sequences
containing the text and formatting instructions 
--

fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;

  fo:layout-master-set
  !-- fo:layout-master-set defines in its children
the page layout: 
   the pagination and layout specifications
  - page-masters: have the role of describing the
intended subdivisions 
   of a page and the geometry of
these subdivisions 
  In this case there is only a
simple-page-master which defines the 
  layout for all pages of the text
  --
!-- layout information --
fo:simple-page-master master-name=simple
  page-height=29.7cm 
  page-width=21cm
  margin-top=1cm 
  margin-bottom=2cm 
  margin-left=2.5cm 
  margin-right=2.5cm
  fo:region-body margin-top=3cm
margin-bottom=1.5cm/
  fo:region-before extent=3cm/
  fo:region-after extent=1.5cm/
/fo:simple-page-master
  /fo:layout-master-set
  !-- end: defines page layout --


  !-- start page-sequence
   here comes the text (contained in flow objects)
   the page-sequence can contain different
fo:flows 
   the attribute value of master-name refers to
the page layout
   which is to be used to layout the text
contained in this
   page-sequence--
  fo:page-sequence master-reference=simple

  !-- start fo:flow
   each flow is targeted 
   at one (and only one) of the following:
   xsl-region-body (usually: normal text)
   xsl-region-before (usually: header)
   xsl-region-after  (usually: footer)
   xsl-region-start  (usually: left margin) 
   xsl-region-end(usually: right margin)
   ['usually' applies here to languages with
left-right and top-down 
writing direction like English]
   in this case there is only one target:
xsl-region-body
--
fo:flow flow-name=xsl-region-body

  !-- each paragraph is encapsulated in a block
element
   the attributes of the block define
   font-family and size, line-heigth etc. --



  !-- this defines normal text --
  fo:block font-size=12pt 
font-family=sans-serif 
line-height=15pt
space-after.optimum=3pt
text-align=justify
![CDATA[ Boy's]]
  /fo:block



/fo:flow !-- closes the flow element--
  /fo:page-sequence !-- closes the page-sequence
--
/fo:root

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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



Re: Book on FOP

2003-02-17 Thread Zhong Yi
Don't think there is one.
FOP is still in baby stage, I think.

--- Ferdous Ahmed [EMAIL PROTECTED] wrote:
 Hello,
 
 I need a good reference book to for FOP. Can any one
 give some reference ?
 
 Best Regards
 Ahmed Ferdous
 Team Leader


 -
 In Germany:
 
 Afinion AG
 Niederlassung Deutschland
 Nagaistr. 3
 D-79713 Bad Saeckingen
 www.afinion.de
 
 Email: [EMAIL PROTECTED]
 Fon:  +49 (0)7761 928 9-00
 Fax:  +49 (0)7761 928 9-11


 
  CONFIDENTIALITY This e-mail and any attachments
 are confidential
  and may also be privileged. If you are not the
 named recipient,
  please notify that you are not allowed to use this
 information in any way.
  Please inform the sender immediately and do not
 disclose the
  contents to another person, use it for any
 purpose, or store
  or copy the information in any medium.
 

--
  
 End of message
 
 
 
 


__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

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



Re: Book on FOP

2003-02-17 Thread Zhong Yi
Hei, Those are xsl-fo not FOP.
I already read the second one. It's a good intro, but
lack of cool stuff. And definetly not for How to use
FOP for publishing.

--- Jeremias Maerki [EMAIL PROTECTED] wrote:
 You're wrong there. :-)

http://www.amazon.com/exec/obidos/tg/detail/-/0131403745/qid=1045499814/sr=8-2/ref=sr_8_2/002-7179745-6532868?v=glances=booksn=507846

http://www.amazon.com/exec/obidos/tg/detail/-/0596003552/qid=1045499814/sr=8-1/ref=sr_8_1/002-7179745-6532868?v=glances=booksn=507846
 http://xml.apache.org/fop/resources.html
 
 On 17.02.2003 17:35:19 Zhong Yi wrote:
  Don't think there is one.
  FOP is still in baby stage, I think.
  
  --- Ferdous Ahmed [EMAIL PROTECTED]
 wrote:
   Hello,
   
   I need a good reference book to for FOP. Can any
 one
   give some reference ?
 
 
 
 Jeremias Maerki
 
 

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


__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

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



Re: Book on FOP

2003-02-17 Thread Zhong Yi
Jeremias,
Read the first commentor's comment about this book:
Good code but good formatters are hard to find.

Looks like you have to work hard on FOP:-).


--- Jeremias Maerki [EMAIL PROTECTED] wrote:
 Oh, and this one:

http://www.amazon.com/exec/obidos/tg/detail/-/0672322811/ref=pd_sim_books_3/002-7179745-6532868
 
 On 17.02.2003 17:39:12 Jeremias Maerki wrote:
  You're wrong there. :-)
 

http://www.amazon.com/exec/obidos/tg/detail/-/0131403745/qid=1045499814/sr=8-2/ref=sr_8_2/002-7179745-6532868?v=glances=booksn=507846
 

http://www.amazon.com/exec/obidos/tg/detail/-/0596003552/qid=1045499814/sr=8-1/ref=sr_8_1/002-7179745-6532868?v=glances=booksn=507846
  http://xml.apache.org/fop/resources.html
  
  On 17.02.2003 17:35:19 Zhong Yi wrote:
   Don't think there is one.
   FOP is still in baby stage, I think.
   
   --- Ferdous Ahmed [EMAIL PROTECTED]
 wrote:
Hello,

I need a good reference book to for FOP. Can
 any one
give some reference ?
 
 
 Jeremias Maerki
 
 

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


__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

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



image filter

2003-02-15 Thread Zhong Yi
Does anyone know how to get image filer effect in FOP?

For example, in HTML, you can do
style=filter:invert,
how can you achieve this effect in FOP?

Thanks

George

__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

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



gray color in Postscript output

2003-01-19 Thread Zhong Yi
I am using Ghostview8.0 to preview the PS output.
It's seems PS output did not draw any shape or path
which has stroke attribute set to gray or lightgray.

Is this a FOP bug or Ghostview?

George

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



PS renerer: Text in SVG

2003-01-16 Thread Zhong Yi

I look at the fop generated PS file. Seems to me the
Text in SVG is drawn into PS file instead of using PS
show command to display it. Am I correct on this?
If so, how difficult to change the code to use PS
command to display Text within SVG?

Thanks.

George

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Row height and half point font

2003-01-11 Thread Zhong Yi
Hi, There.
I have 2 questions about fop:
1. How do you specify the table row height?
2. How does FOP handle half point font-size and half
point stroke-width? ( ie. font-size=6.5pt
stroke-width=0.5 )

Thanks in advance

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: svg fills black when using variable

2003-01-03 Thread Zhong Yi
You define variable in xsl namespace.
SVG doesn't know your variable.
Try this:

xsl:variable name=color select=limegreen/
svg:svg  height=400 width=400
svg:rect  height=50width=100
 xsl:attribute name=style
   xsl:textfill:/xsl:textxsl:value-of
select=$color/
 /xsl:attribute
/svg:rect


George

--- Don Berendsen [EMAIL PROTECTED] wrote:
 FOP 2.0.5rc
 
 In the example below the rectangle is filled with
 black instead of 
 limegreen. Is there a way to specify the fill color
 using a variable?
 
 Thanks,
 
 Don
 
 
 xsl:variable name=color select=limegreen/
 svg:svg  height=400 width=400
 svg:rect  style=fill:{$color} height=50
 width=100 /
 
 

_
 MSN 8 with e-mail virus protection service: 2 months
 FREE* 
 http://join.msn.com/?page=features/virus
 
 

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


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



FOP Postscript

2002-12-11 Thread Zhong Yi
I have a question about FOP Postscript output. The SVG
graphics look very ugly in PS format. My question is
when will FOP address this issue? Is there any other
FO solution which give a quality PS output? I am in a
process of evaluating FOP for future project. The PDF
output looks cool but the PS really kills me.



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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