maarc93 Posted February 16, 2013 Share Posted February 16, 2013 Hello! I want to know how to change font style in PDF document. Currect font does not fit because it shows question marks in letters which are not defined. Link to comment Share on other sites More sharing options...
PascalVG Posted February 16, 2013 Share Posted February 16, 2013 Never played with it, but can't you add a font-family to the tpl files in /PDF ?? add (or better, modify an existing one if possible) around the text a <span> or <div> with: style="font-family: 'Comic Sans MS', Times, serif;" Fonts needed you can choose yourself, of course. be careful what you choose here: http://webdesign.about.com/od/fonts/qt/web-safe-font-stacks.htm (don't forget to override the files, not change the basic ones. Moe them to your /themes/<current theme folder>/PDF folder first...) Not sure if I'm just saying nonsense here for your PDF problem. As said never played with the PDF's... Maybe have a quick look. My 2 cents, Pascal Link to comment Share on other sites More sharing options...
maarc93 Posted February 19, 2013 Author Share Posted February 19, 2013 (edited) I found a file /pdf/invoice.tpl there is a line: <div style="font-size: 8pt; color: #444"> I changed to: <div style="font-size: 8pt; font-family: Arial, Helvetica, sans-serif; color: #444"> but nothing happens. what I am doing wrong? Edited February 19, 2013 by maarc93 (see edit history) Link to comment Share on other sites More sharing options...
sharfabadd Posted February 29, 2020 Share Posted February 29, 2020 i have a same problem but i am not getting any solution. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now