Solved

Need Wingdings.afm (postscript font)

Posted on 2008-10-27
2
1,294 Views
Last Modified: 2013-12-13
Just curious if anyone has experience with installing wingdings.afm on linux (debian etch without a GUI)? I'm using R&OS PDF class (http://www.ros.co.nz/pdf/)  for PHP (which works great), but I need a checked and unchecked checkbox icon, which is available in that font set. I know I'm close to a solution, but I don't understand the font issues enough here. Documentation for R&OS states:

"You can now have extra fonts!. It is possible to add type 1 postscript fonts, or TrueType fonts.
Though note that for the postscript font you have to have both a .pfb file and a .afm file - but there are
free products out there which can convert a .pfa to a .pfb. Also to use a TrueType file you have to
have a corersponding .afm file as this is required to specify the character widths - luckily there is a
program which will generate one from a ttf file."
0
Comment
Question by:light-blue
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 1

Author Comment

by:light-blue
ID: 22814829
I just fixed this, so for anyone else seeing this problem...

It turns out that this was actually pretty easy! I opened the Fonts Control Panel (Windows XP), copied the wingding.ttf to the linux box (note that I wanted wingding2 though which didn't work as described below, so I downloaded one from http://www.webpagepublicity.com/free-fonts.html) and ran this

ttf2pt1 wingding2.ttf

That command created the .afm file I needed and R&OS PDF maker worked with this line:

$p->selectFont('./fonts/wingding2.afm');
0
 
LVL 1

Accepted Solution

by:
light-blue earned 0 total points
ID: 22815046
Specifically,

$checked=chr(82);
$unchecked=chr(163);
$p->ezText($checked.$unchecked);
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a previous article here at Experts Exchange (http://www.experts-exchange.com/articles/18414/Create-a-PDF-file-with-Contact-Sheets-montage-of-thumbnails-for-all-JPG-files-in-a-folder-and-each-of-its-subfolders-using-an-automated-batch-method.html)…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Microsoft Office Picture Manager has a Picture Shortcuts pane that shows a list with the Recently Browsed folders. While creating my video Micro Tutorial here at Experts Exchange showing How to Install Microsoft Office Picture Manager in Office 2013…
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question