fireflysung uft8 chinese font

883 views
Skip to first unread message

Kim Luk

unread,
Aug 19, 2011, 12:53:23 PM8/19/11
to dompdf
Dear Sir

I tried the online font convertion, but failed to change to afm
file. also I tried load_font.php function, also failed to make afm
file of fireflysung font, so would you please kindly help to give me
solutions, many thanks.

Best Regards,
DOMPDF lover.

BrianS

unread,
Aug 22, 2011, 1:27:05 PM8/22/11
to dom...@googlegroups.com

There appears to be something wrong with the web-based font prep tool. Even if ttf2ufm doesn't work, ttf2ufm.php should. I'll see if I can get it working again.

FYI, there are significant changes on the horizon in how to embed fonts. Fabien has create some really nice code around the @font-face CSS attribute that uses a pure PHP solution. The next release should have this enabled (you can download a nightly if you want to try it out).

Luk

unread,
Aug 22, 2011, 10:09:40 PM8/22/11
to dom...@googlegroups.com
Thanks so much for your kindly suggestion!!


Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "dompdf" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dompdf/-/jqlsM_qiMQ4J.
To post to this group, send email to dom...@googlegroups.com.
To unsubscribe from this group, send email to dompdf+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dompdf?hl=en.

BrianS

unread,
Aug 25, 2011, 1:57:31 PM8/25/11
to dom...@googlegroups.com
I updated the web tool so that it should now work correctly if the PHP font parser is used. Please try again and let me know if you have any further trouble.

N K

unread,
Jun 3, 2014, 3:21:50 AM6/3/14
to dom...@googlegroups.com
Hello,
I am trying to generate pdf using DOMPDF,
 every thing is ok with "spanish, french, denish, english ang german",
 but there are a problem with Chinese font. I went through all the post and added firefly font from http://www.study-area.org/apt/firefly-font/ site But failed to generate pdf in chinese font.


You can check DOMPDF configuration here http://www.hbproducts.dk/libraries/dompdf/

Thanks in advance for helping!

BrianS

unread,
Jun 3, 2014, 5:53:30 PM6/3/14
to dom...@googlegroups.com
I was unable to find a link to produce a PDF so I am unable to review the output.

I do see that the font is loaded on your server. Is it also included in the stylesheet?

What exactly are the problems you are seeing with the output?

FYI, next time go ahead and start a new thread rather than posting to an older one.

netzwel...@gmail.com

unread,
Sep 24, 2016, 9:27:53 AM9/24/16
to dompdf
hey 
i am facing problem with chinese text. Blank boxes are displayed instead of correct. Can you please suggest to solve this. Is there any problem with fonts.

thanks

BrianS

unread,
Sep 26, 2016, 10:17:16 AM9/26/16
to dompdf
Have you read the Unicode How-To in the wiki?
Reply all
Reply to author
Forward
0 new messages