Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Barcode Font not available in PDF after adding to Font Management

New Here ,
Mar 31, 2007 Mar 31, 2007
Hello CF experts,

I need to use a barcode font in a PDF document. I installed the font in Font Management, but nothing happens when I attempt to use it. I've tried to use it both in and out of PDF's, and it doesn't work either way. It does work in normal HTML code if the local machine has the font installed, but this isn't very helpful, as I need it to be served up from the Server with fontembed for PDF usage.

Here is what the Font Manager shows:
User Defined Fonts
Actions Font Family Font Face Font Type Useable In Path
IDAutomationHC39M IDAutomationHC39M TRUETYPE PDF/FlashPaper /var/www/html/MM/IDAutomationHC39M_Free.ttf

I've tried using it in <font> tags, CSS Styles, etc, and nothing works.

Any ideas?

Thanks
6.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 07, 2007 Apr 07, 2007
Anyone? I really need to be able to make use of custom installed fonts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 07, 2007 Apr 07, 2007
Since your server is ultimately the source of any fonts used, installing the font on the actual server (like any font), rather than in the Font Manager, should allow it for use anywhere you want to use it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 14, 2007 Apr 14, 2007
Hey SafariTECH,

The Server is the source for any fonts used? This hasn't been my experience at all. Web pages don't embed fonts, but rely on the clients PC having the requested font face installed.

My problem is that I have a unique need for a Barcode font to be available to clients without having to run around and install it locally. In concept I should be able to embed the font in Flashpaper or a PDF and bypass the need to make the font available on each client's PC.

Is anyone successfully using the PDF "Font Embed" feature this way using fonts installed in the Font Manager?

Is there any easy way to tell if the font's installed in Font Manager are actually working and/or available?

Thanks-
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 19, 2007 Apr 19, 2007
Don't have the answer you're looking for, but we have some barcode pdf producing tags that get run in our factory, and we've had to resort to loading the font on every PC that needs to run the app. We bought a tag once that was to fix this; it didn't.
I'd be curious about an answer that doesn't require this as well.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 25, 2007 Apr 25, 2007
I just got it to work on our server. If you are creating PDFs with cfdocument, you have to install the font on the server then reboot. Once you do that it will properly embed it within the pdf file.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 25, 2007 Apr 25, 2007
Hi,

As Mr.Schuchert said, restarting your CF Server will help you to resolve this issue..

You may be able to view the font in a normal browser without restarting the server since the font is installed in your machine.. But tags like <cfdocument> are handled in server side which which will take effect the new font installation only after restarting your CF Server..
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 15, 2007 May 15, 2007
Hey all,

Restarting my server made no difference. I'm using a Linux server so maybe thats my problem.

I've just about given up trying to make this work.

Anyone have any other ideas?

Thanks
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 31, 2007 May 31, 2007
I noticed that the free barcode font that we used did not register a name in the CF administrator. I opened the font in windows to find the actual name. I used the name value in the font as the name of the font in my code and it worked. For some reason cf administrator didn't liek the name. I am not sure if it was because of length or spaces. Either way, using that value along with a reboot after I installed the font made it work for me.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 01, 2007 Jun 01, 2007
LATEST
If for some reason you can't get the barcode font thing to work, CFMX 7 ships with the iText java library (aka what CF uses to create PDFs with cfdocument) which has native support for a few standard barcode types. We currently use it to add barcode 128 barcodes to PDFs we create via <cfdocument>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources