Symbol rendering with dompdf

814 views
Skip to first unread message

domenico gioia

unread,
Feb 28, 2013, 4:40:44 PM2/28/13
to dom...@googlegroups.com
I have problem with symbol rendering in dompdf.
For doing a test, I've downloaded the lastest version of dompdf from github (whit this SHA 9d33ae8b5699da5bb8dea02e76fbddb38ba3e32d, I can't find the version number). After I've downloaded the php-font-lib (SHA 6cd2f2a4b0e1dd3104295c80864b24fb5ff8934d )
And I've done test on my mac.
In this first image you can see the html code used for this test.
In the second image you can see the returned PDF.
Can anyone help me? 
The ≤ correspond to "less or equals to"

Inline image 1

Inline image 2


Thanks

Regards

Domenico
image.png
image.png

Riccardo Fraioli

unread,
Feb 28, 2013, 5:05:40 PM2/28/13
to dom...@googlegroups.com
You have controlled your charset . .... 

2013/2/28 domenico gioia <domeni...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "dompdf" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dompdf+un...@googlegroups.com.
To post to this group, send email to dom...@googlegroups.com.
Visit this group at http://groups.google.com/group/dompdf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



image.png
image.png

BrianS

unread,
Feb 28, 2013, 6:17:12 PM2/28/13
to dom...@googlegroups.com
The character you want is not supported in the default encoding, Windows ANSI. You'll need to use a supporting font. Try the built-in DejaVu fonts: <span style="font-family: DejaVu Sans;">&le;</span>. And read the Unicode How-to so you have an idea of how to set up your document to support a wider range of characters.

Alan

unread,
Mar 2, 2013, 6:06:32 AM3/2/13
to dom...@googlegroups.com
Thank a lot Brains, now all work very good.
Reply all
Reply to author
Forward
0 new messages