RE: [xsl] FO: Non-proportional output with proportional font

Subject: RE: [xsl] FO: Non-proportional output with proportional font
From: "Nathan Young -X \(natyoung - Artizen at Cisco\)" <natyoung@xxxxxxxxx>
Date: Mon, 15 May 2006 10:33:58 -0700
Hi.

You have tables created using ascii characters and you don't want your
document to look ugly?  Good Luck!!!

Seriously, those ascii charts depend on fixed width fonts and there's no
way around it without tailoring each one by hand or writing a VERY
complex set of conversion rules.

You may be able to find something that you like better than courier
though.  There are fixed width fonts that look less like teletype; this
guy has some screen shots:

http://www.cfcl.com/vlb/h/fontmono.html

Or you can just google for fixed width fonts.



---->Nathan



.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:
||:.

Nathan Young
CDC Site Design & Development->Interface Development Team
A: ncy1717
E: natyoung@xxxxxxxxx

> -----Original Message-----
> From: Christian Haase [mailto:haase@xxxxxxxxxxx]
> Sent: Sunday, May 14, 2006 3:56 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] FO: Non-proportional output with proportional font
>
> Hi all!
>
> Im producing documents with standard font "Arial/Helvetica"
> (proportional font). The problem: parts of the document containing
> tables, created with ASCII characters (like - and |).
> Unfortunatly, I've
> no chance to re-create these stupid text-elemtens. Source of
> the text is
> given XML, generated on IBM Mainframe with Cobol.
> Now I'm looking for a tricky way to process this text-tables,
> getting a
> pretty formatted output.
> The easiest way is using an non-proportional font like "Courier", of
> course. But this isn't the solution I'm looking for, cause I
> dont want
> to use these ugly font in my documents.
> Is there any chance getting a non-proportional output by using a
> proportional font (e.g. Helvetica)? I know, sounds crazy,
> but: any ideas?
>
> Greetings,
> Christian
>
> P.S: Using Apache-Group FOP 0.20.5, Output format is PDF.

Current Thread