RE: Arial Unicode MS-MathML-bitmaps

2007-03-07 Thread Jeff Vannest
 when embedding Arial Unicode MS font using TTFReader
 I had to change the font's name avoiding spaces

We've discussed this at length, recently. Apparently, the current FOP code
tree has been adjusted for this, although according to the CSS spec, it's
not an error. Font names that contain spaces must be enclosed in quotes. The
CSS spec on 'font-family' gives this example in section 5.2.2 of the Level 1
spec, 11-JAN-1999:


   Font names containing whitespace should be quoted:

   BODY { font-family: new century schoolbook, serif }
  
   BODY STYLE=font-family: 'My own font', fantasy



Regards,
Jeff




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



RE: Arial Unicode MS-MathML-bitmaps

2007-03-07 Thread Jean-Francois MAUREL
thank you for this information.

regards

-Message d'origine-
De : Jeff Vannest [mailto:[EMAIL PROTECTED]
Envoye : mercredi 7 mars 2007 15:14
A : fop-users@xmlgraphics.apache.org
Objet : RE: Arial Unicode MS-MathML-bitmaps


 when embedding Arial Unicode MS font using TTFReader
 I had to change the font's name avoiding spaces

We've discussed this at length, recently. Apparently, the current FOP code
tree has been adjusted for this, although according to the CSS spec, it's
not an error. Font names that contain spaces must be enclosed in quotes. The
CSS spec on 'font-family' gives this example in section 5.2.2 of the Level 1
spec, 11-JAN-1999:


   Font names containing whitespace should be quoted:

   BODY { font-family: new century schoolbook, serif }

   BODY STYLE=font-family: 'My own font', fantasy



Regards,
Jeff




-
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: Arial Unicode MS-MathML-bitmaps

2007-03-07 Thread Andreas L Delmelle

On Mar 7, 2007, at 14:14, Jean-Francois MAUREL wrote:

Hi,

Regarding the following:


Bitmaps:
===
I experienced the known issue of images not shrinking in the page  
but also:


It depends a bit on finding the right combination of content-height/ 
content-width and height/width...
There are known limitations, but if you want, then you can always  
show the FO-code you're using to insert the graphics. That way, maybe  
we can give you pointers to achieve the desired result.


- GIF images  : for the time being the result in pdf is always bad  
(bad

size, poor rendering)
- JPEG images : I have quite good rendering and fop seems to use  
the actual

resolution of the file
- PNG images  : good rendering but I have to work around size in  
order to

get a good result

So my question is: could you show me a better way to obtain the  
same result
(MathML, Fonts) and the optimal way to manage bitmaps. My intention  
is to
convert all images from gif to jpeg or png. Could you confirm it is  
a good

idea?


Well, using GIF is generally considered to be a Bad idea... browse  
around a bit, and you'll even find some calls to boycot the usage of  
the GIF format, so consider your idea to be Good indeed! ;)



Cheers,

Andreas



cheers


Jean-François MAUREL
Directeur technique
Technical manager

PI Méca
4,rue de l'abreuvoir F-92400 Courbevoie
Tél: 33 (0)1 47 17 65 13
Fax: 33 (0)1 56 04 15 81
http://www.pimeca.com



-
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: Arial Unicode MS-MathML-bitmaps

2007-03-07 Thread Jean-Francois MAUREL
Thank you for your answer. I was using content-width=auto but I am going
to try something better.

regards

-Message d'origine-
De : Andreas L Delmelle [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 7 mars 2007 17:31
À : fop-users@xmlgraphics.apache.org
Objet : Re: Arial Unicode MS-MathML-bitmaps


On Mar 7, 2007, at 14:14, Jean-Francois MAUREL wrote:

Hi,

Regarding the following:

 Bitmaps:
 ===
 I experienced the known issue of images not shrinking in the page
 but also:

It depends a bit on finding the right combination of content-height/
content-width and height/width...
There are known limitations, but if you want, then you can always
show the FO-code you're using to insert the graphics. That way, maybe
we can give you pointers to achieve the desired result.

 - GIF images  : for the time being the result in pdf is always bad
 (bad
 size, poor rendering)
 - JPEG images : I have quite good rendering and fop seems to use
 the actual
 resolution of the file
 - PNG images  : good rendering but I have to work around size in
 order to
 get a good result

 So my question is: could you show me a better way to obtain the
 same result
 (MathML, Fonts) and the optimal way to manage bitmaps. My intention
 is to
 convert all images from gif to jpeg or png. Could you confirm it is
 a good
 idea?

Well, using GIF is generally considered to be a Bad idea... browse
around a bit, and you'll even find some calls to boycot the usage of
the GIF format, so consider your idea to be Good indeed! ;)


Cheers,

Andreas


 cheers


 Jean-François MAUREL
 Directeur technique
 Technical manager

 PI Méca
 4,rue de l'abreuvoir F-92400 Courbevoie
 Tél: 33 (0)1 47 17 65 13
 Fax: 33 (0)1 56 04 15 81
 http://www.pimeca.com



 -
 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]