Do I need to generate a different font metrics file for Unix and Windows

View: New views
5 Messages — Rating Filter:   Alert me  

Do I need to generate a different font metrics file for Unix and Windows

by Siobhan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I am embedding a font by generating a font metrics file and passing this file to FOP through the use of the FOP configuration file. I have created tests that are run on both Windows and Unix machines. However, when the test is run on Unix, it fails saying that it cannot load the font from the metrics file (pmingliu.xml). I generated this metrics file on Windows. Do I need to generate a metrics file on the Unix platform too? Are the metrics files different for different platforms?
thanks

Re: Do I need to generate a different font metrics file for Unix and Windows

by Jeremias Maerki-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, you don't need to generate separate font metrics for the two
platforms. They are the same. You probably just have a bad path in your
configuration on Unix.

On 21.07.2008 16:32:57 Siobhan wrote:

>
> Hi,
> I am embedding a font by generating a font metrics file and passing this
> file to FOP through the use of the FOP configuration file. I have created
> tests that are run on both Windows and Unix machines. However, when the test
> is run on Unix, it fails saying that it cannot load the font from the
> metrics file (pmingliu.xml). I generated this metrics file on Windows. Do I
> need to generate a metrics file on the Unix platform too? Are the metrics
> files different for different platforms?
> thanks
> --
> View this message in context: http://www.nabble.com/Do-I-need-to-generate-a-different-font-metrics-file-for-Unix-and-Windows-tp18569904p18569904.html
> Sent from the FOP - Users mailing list archive at Nabble.com.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: Do I need to generate a different font metrics file for Unix and Windows

by Stefan Heuer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 

You look for the line end characters?

Regards

Stefan

Siobhan schrieb:
| Hi,
| I am embedding a font by generating a font metrics file and passing this
| file to FOP through the use of the FOP configuration file. I have created
| tests that are run on both Windows and Unix machines. However, when
the test
| is run on Unix, it fails saying that it cannot load the font from the
| metrics file (pmingliu.xml). I generated this metrics file on Windows.
Do I
| need to generate a metrics file on the Unix platform too? Are the metrics
| files different for different platforms?
| thanks

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iQIcBAEBAgAGBQJIhKK9AAoJEJeVaXEGNEQE0xoP/jN8Y2oWKcGa1mtsXNzQBkUL
QFceAvu+uUrB8kGP8kvmrIMZQlxIsJ/4f5nhRAAll4b677XprgOBWZgmTD7ka8FL
uMZ1JIHHnlaGVcOuuxzqbPqDHFTE6bqRqyvGAKjN8AmS7DEnxN760ve1tMwObiC+
cV3dZBIU05Cc0G9GvtCO7aBOmqw2vBOXalfWJa3Fwxa0YzwHs72J64nCrg+VKwyg
/n+DvflXy1gag3UzWJrvK5EGbRSu5+sq5hEfknM0LzwknU4SiPy8Ptv+9Ht1zOWh
xLHJbN0H2v1MFpOgSJ5t8k6EVWQrR6AbjYaA5lR3kR598sUZBk6PE/8wucC/X/6A
rjKToviUHNdBMX/mQLI8TwKwM5t4tqipFOf6yracmNxLWW5YsH/gpI9gOiE/7CTV
jrUJTXaFxJXRfMaTZCuv9I8suiC+a49KoFpkDmKUA1SfE/ICGI48lJC1WACrfSo6
yhg148Ct8M2qR6ySxOBSTSmkDEgLg4evuDv/sp6cTD/ZCYAITyZFDINeGHuFNHSs
bPHIZayW4arZ2SDFitjhwCZY2BjArZwnJzZlcsZmSpZIsqJCgp+4xsFZKmixvNLB
8DuCgya5pPt+vRK8q05sU3yzhFeIf+Bxh11zZdPEuKIommUoz4Q6JnWTC006U8ED
tLEnxfRBzzvvHsKjVMw+
=4SP3
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: Do I need to generate a different font metrics file for Unix and Windows

by Siobhan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
I will investigate into this further. I have attached the configuration file to see if you can see anything wrong in the meantime. Thanks for such a speedy response!
Jeremias Maerki-2 wrote:
No, you don't need to generate separate font metrics for the two
platforms. They are the same. You probably just have a bad path in your
configuration on Unix.

On 21.07.2008 16:32:57 Siobhan wrote:
>
> Hi,
> I am embedding a font by generating a font metrics file and passing this
> file to FOP through the use of the FOP configuration file. I have created
> tests that are run on both Windows and Unix machines. However, when the test
> is run on Unix, it fails saying that it cannot load the font from the
> metrics file (pmingliu.xml). I generated this metrics file on Windows. Do I
> need to generate a metrics file on the Unix platform too? Are the metrics
> files different for different platforms?
> thanks
> --
> View this message in context: http://www.nabble.com/Do-I-need-to-generate-a-different-font-metrics-file-for-Unix-and-Windows-tp18569904p18569904.html
> Sent from the FOP - Users mailing list archive at Nabble.com.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
fopuserconfig.xml

Re: Do I need to generate a different font metrics file for Unix and Windows

by Siobhan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

To clarify, the issue was that the path contained backslashes, I changed this to forward slashes and now all tests work on both Unix and Windows.
Cheers

Siobhan wrote:
Hi,
I am embedding a font by generating a font metrics file and passing this file to FOP through the use of the FOP configuration file. I have created tests that are run on both Windows and Unix machines. However, when the test is run on Unix, it fails saying that it cannot load the font from the metrics file (pmingliu.xml). I generated this metrics file on Windows. Do I need to generate a metrics file on the Unix platform too? Are the metrics files different for different platforms?
thanks
LightInTheBox - Buy quality products at wholesale price