Print Page | Close Window

MM_ANISOTROPIC

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3166
Printed Date: 08 May 24 at 12:56AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: MM_ANISOTROPIC
Posted By: csdidier
Subject: MM_ANISOTROPIC
Date Posted: 25 Aug 15 at 10:22PM
I was just testing these functions:
 
GetCanvasDCEx( ... ) ,
LoadFromCanvasDC( ... ),
NewPageFromCanvasDC( ... )
 
Works very well.   This is very powerful stuff.   The only problem I can find with this is that the text gets distorted when MM_ANISOTROPIC is the mode, and the X and Y scaling are very different.
 
When X and Y scaling are equal I get this type of text:

Hello There
 
When X and Y scaling are very different I get this type of text:

H e l l o T h e r e

Unfortunately all of my company's code uses ANISOTROPIC scaling.  I am using Vector Graphics mode.   I could try to print to a HBitmap, then stretch the hbitmap, and store it in the PDF, but I'd rather keep the Vector Graphics aspect. 

Anyone have an idea for a solution?

This only seems to affect the Text Objects.   Is there a function which will let me iterate through each text object and apply a transform? (post-processing).
 
Thanks in advance.

 
 

 

 

 

 

text:




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk