Using Arial Narrow in PDF generated with ASP.Net

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Using Arial Narrow in PDF generated with ASP.Net

Postby mliskin » Tue Mar 06, 2012 7:18 am

I'm trying to use VPE 6 with ASP.Net to generate PDF files from templates created using DycoDoc 2.2.

All of our templates use Arial Narrow, and many of them won't fit on the page using regular Arial. It appears that Arial Narrow is not installed on the web server, and the PDF module is substituting another font (probably regular Arial). After reading the documentation, I tried setting both EmbedAllFonts and SubsetAllFonts to True, but that didn't make any difference. I also uploaded the TrueType font files to the web site folder, but VPE is not recognzing them. This is a shared server, and I'm not sure I could install fonts on it.

Does anyone know how to solve this problem?
mliskin
 
Posts: 5
Joined: Sat Jun 04, 2011 7:23 am

Re: Using Arial Narrow in PDF generated with ASP.Net

Postby IDEAL Software Support » Wed Mar 07, 2012 9:40 am

On Windows platforms it is required to install and register fonts, because on Windows VPE is using the Windows API to query font data. On Linux and other *nix platforms it is sufficient to copy the font somewhere and make it accessible, since on such platforms VPE is using its own code to access the font data.
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 48 guests