Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fonts.xml doesn't get parsed correctly #34

ottsch opened this Issue Mar 19, 2013 · 2 comments


None yet
2 participants

ottsch commented Mar 19, 2013

I am trying to copy the contents of bundled fonts.xml to my own fonts.xml which is in app/config/fonts.xml

In config.yml I define:

    fonts_file: "%kernel.root_dir%/config/fonts.xml"

However it throws "helvetica is not defined". Actually when inspecting FontRegistry::fonts there is only DejaVuSans in the array...


psliwa commented Mar 20, 2013

Can you show your fonts.xml file?

ottsch commented Mar 20, 2013

For test purposes I just used the contents of this file: https://github.com/psliwa/PHPPdf/blob/master/lib/PHPPdf/Resources/config/fonts.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment