PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Using builtin pdf fonts
https://forum.pdfsharp.net/viewtopic.php?f=2&t=967
Page 1 of 1

Author:  FrankSL [ Thu Dec 03, 2009 11:17 am ]
Post subject:  Using builtin pdf fonts

Hi,
Is there a way to use the standard builtin 14 fonts like Helvetica, Courier, etc.?
I tried something like:

Code:
XFont font = new XFont("Helvetica", 11, XFontStyle.Regular, null);


But looking at pdf properties it gets translated to 'Arial' in windows,
Thanks,
Frank

Author:  FrankSL [ Wed Dec 16, 2009 10:48 am ]
Post subject:  Re: Using builtin pdf fonts

Sorry for the bump, I really need this info,
Thanks,
Frank

Author:  mikesowerbutts [ Wed Dec 16, 2009 11:29 am ]
Post subject:  Re: Using builtin pdf fonts

Thomas hoevel is away on holidays and isnt answering any questions until the new year - As Arial and Helvetica are basically the same font (Helvetiva is just a slightly "slicker" version if i am to trust the guy who told me this), then what is the problem?

If I want to use a specific font (which isnt one of the standard ones) then I load it into the PrivateFonts object of the DocumentRenderer object i use to render my pages.

Hope this helps.

Mike

Author:  () => true [ Wed Dec 16, 2009 8:56 pm ]
Post subject:  Re: Using builtin pdf fonts

Hi!
FrankSL wrote:
Is there a way to use the standard builtin 14 fonts like Helvetica, Courier, etc.?

Not yet and not in the foreseeable future.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/