Print Page | Close Window

Text to Path / Vector

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=1052
Printed Date: 25 Jun 25 at 5:53PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Text to Path / Vector
Posted By: murdochjr
Subject: Text to Path / Vector
Date Posted: 03 Apr 09 at 11:03PM
Hi,

I would like to know if there is a feature or anyway to convert text to a path / vector outlines.

I'm not wanting to convert existing text if this helps, I writing new text with QuickPDF.

If QuickPDF cannot do this is there another way? another SDK that could help me out?

Thanks



Replies:
Posted By: DELBEKE
Date Posted: 04 Apr 09 at 3:03AM
Hi murochir
 
I don't understand what you mean with convert text to path.
Internaly, texts are considered as vector graphics.
 
If you want only the outline of the text, you can use the SetTextMode function, before drawing the text.
 
If you want to add the text to a path for further use, begin drawings with startpath, do drawings and finish with a closepath.
 


Posted By: Ingo
Date Posted: 04 Apr 09 at 3:05AM
Hi!

QuickPDF can't do this for you. QP can do a lot but not this ;-)
I don't think that there are PDF-SDKs doing this. Perhaps you should search more in the real postscript-section for this?

Cheers, Ingo


Posted By: Rowan
Date Posted: 04 Apr 09 at 8:49PM
Hi murdochjr,

Like Ingo said, there isn't any current functions that would be able to do this for you, however, internally Quick PDF does have some code for getting the outlines of glyphs from a font. This is used a lot in the renderer - and also in the font subsetting functionality.

Could you let us know exactly what you are planning to do with the outlines or more generally why you would want this functionality?

Cheers,
- Rowan.


Posted By: murdochjr
Date Posted: 05 Apr 09 at 6:02AM
Hi,

Thanks for the quick reply guys.

The main reason for wanting outlines / vector of text is so that the font does not need to be embedded in the PDF. The PDF are used in the print industry and vector is preferred to font embedding as there is less chance of somthing going wrong, the problem with embedding fonts in PDF used in a print system form what I have heard is that when the PDF's get RIP'ed there is the chance that there maybe 2 fonts of the same name from different sources that are different, this may also be an issue when serveral small PDF are combined to a large one for printing. If there is only paths / vector there is no chance of font corruption.

Hope I have explained this well, I guess it can be summed up as that full vector artwork is the preferred standard for the print industry / over embedded fonts.

Thanks.



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