RE: font question

2004-03-26 Thread Johannes Stuermer
What is involved in creating a metrics file for "bold" if the font itself
does not contain bold glyphs. Are there any tools that I could use?

What I'm trying to accomplish is to display Japanese and Chinese text in
bold and italic using licensing-free fonts. I've tried "Arial Unicode",
"MSMincho" and "SimSun", but they all seem to only contain regular style
glyphs.

Thanks



-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 12:46 AM
To: [EMAIL PROTECTED]
Subject: Re: font question


Johannes Stuermer wrote:

> I would like to use the "Arial Unicode MS Font" as an embedded font using
> FOP, but I found that the generated PDF file does not display text that is
> bolded, despite the fact that the font-weight is set to bold in the FO
file.
> Since the same font displays bolded text correctly in a web browser, I'm
> assuming that it does contains bold glyphs. What am I missing?

Your assumption is incorrect. Microsoft fonts generally do not have bold 
glyphs in them because their software (inc Word and IE) compute the bold 
glyphs on the fly. FOP does not attempt to do this. In order to get bold 
fonts working in FOP you will need to generate two sets of metrics for 
the same Font, and add two entries in your userconfig.xml.

Chris


-
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: font question

2004-03-26 Thread Chris Bowditch
Johannes Stuermer wrote:
I would like to use the "Arial Unicode MS Font" as an embedded font using
FOP, but I found that the generated PDF file does not display text that is
bolded, despite the fact that the font-weight is set to bold in the FO file.
Since the same font displays bolded text correctly in a web browser, I'm
assuming that it does contains bold glyphs. What am I missing?
Your assumption is incorrect. Microsoft fonts generally do not have bold 
glyphs in them because their software (inc Word and IE) compute the bold 
glyphs on the fly. FOP does not attempt to do this. In order to get bold 
fonts working in FOP you will need to generate two sets of metrics for 
the same Font, and add two entries in your userconfig.xml.

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


Re: url port 8080

2004-03-26 Thread Glen Mazza
Now I understand your question!  The answer:  No, you have to specify 
the port number.

If you look at the http spec[1], and search on "80", you'll see a few 
places where it specifies that if you do *not* specify the port number, 
it defaults/must be taken as 80 for http.

Glen
[1] http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc2616.html
Benjohn P. Villedo schrieb:
thanks mike for the suggestion i am a bit worried though since 
apache httpd uses port 80 hence moving tomcat to port 80 might 
cause some problems... am still finding other means... all the best!!!

pal,
benjohn
 


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


font question

2004-03-26 Thread Johannes Stuermer
I would like to use the "Arial Unicode MS Font" as an embedded font using
FOP, but I found that the generated PDF file does not display text that is
bolded, despite the fact that the font-weight is set to bold in the FO file.
Since the same font displays bolded text correctly in a web browser, I'm
assuming that it does contains bold glyphs. What am I missing?

Thanks









-Original Message-
From: Clay Leeds [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 7:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Hyphenation Patterns


On Mar 25, 2004, at 1:39 AM, Chris Bowditch wrote:
> Waggershauser, Thomas wrote:
>
>> Hello,
>> I need Hyphenation Patterns for german and french language. These are 
>> not available at the fop-homepage, but a reference to a tex source. 
>> Its mentioned that its possible to convert the tex-format to the fop 
>> xml-format. I tried really hard to find out how to do this, but I got 
>> no idea.
>> Maybe here is someone who can help me...
>
> I have never done the conversion myself, but heard that it is actually 
> quite tricky. The french and german hypenatation patterns used to be 
> distributed with older versions of FOP, 0.20.4. Older versions of FOP 
> binaries can be downloaded from the website. So I suggest you download 
> and install FOP 0.20.4 and then extract the hypenatation files from 
> there.
>
> Chris

I believe that, due to licensing issues, the hyphenation patterns have 
been removed from old binaries (hence the 'a' in 0.20.4a, 0.20.3a, 
etc.). I suspect that the best course of action is to follow the 
instructions on the FOP Hyphenation page[1] to convert TeX hyphenation 
patterns. The FOP developers sincerely regret that the hyphenation 
patterns had to be removed. If you have problems with the conversion, 
please don't hesitate to ask for help on this list.

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

Good luck!

Web Maestro Clay


-
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: url port 8080

2004-03-26 Thread Benjohn P. Villedo
thanks mike for the suggestion i am a bit worried though since 
apache httpd uses port 80 hence moving tomcat to port 80 might 
cause some problems... am still finding other means... all the best!!!

pal,
benjohn


On 24 Mar 2004 at 10:41, Witt, Mike (OH35) wrote:

> Hi, look in your server.xml and set the port to 80 instead of 8080.  Since
> the web browser looks for port 80 by default, it does not need to be
> specified on the URL line.  If you running Windows, IIS is probably already
> using port 80 though.
> 
> -Original Message-
> From: Benjohn P. Villedo [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 22, 2004 3:13 AM
> To: [EMAIL PROTECTED]
> Subject: url port 8080
> 
> 
> hi all,
> 
> Good Day!!!
> 
> am not sure if this is the right place to post this i just hope to get all 
> the help i could... here it is i am able to access fop with the url
> 
> http://localhost:8080/fop?fo=/usr/local/fop/examples/fo/basic/fonts.fo
> 
> or with cocoon implementation with the url 
> 
> http://localhost:8080/cocoon/xml-files/xml-file1.pdf
> 
> is there a means by which i could access those web applications 
> without port 8080??
> 
> i am actually able to do it with my other JSP web applications but the 
> method i use for my other web applications when implemented on 
> fop or cocoon wont work... here is what i did
> 
> inside server.xml of tomcat i placed the context
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> 
>reloadable="true" crossContext="true">
>prefix="localhost_cocoon_log." suffix=".txt"
>   timestamp="true"/>
> 
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> 
> mod_jk.conf file added the line
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> JkMount /cocoon/* worker1
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> 
> but still doesn't work... any hint or tip would be very much 
> appreciated... all the best!!!
> 
> pal,
> benjohn
> 
> 
> -
> 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]




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