Re: How to draw string with postscript font instead of true type font?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Bob Powell [MVP] (bob_at__spamkiller_bobpowell.net)
Date: 07/16/04


Date: Fri, 16 Jul 2004 10:30:57 +0200

If you must use that specific font you'll have to use interop and GDI.
Alternatively, you may be able to find an equivalent True Type font
somewhere.

I don't know of any software that will convert the fonts.

-- 
Bob Powell [MVP]
Visual C#, System.Drawing
The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers
http://www.bobpowell.net/currentissue.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
"Kelly Chen" <Crystal_Apple2@yahoo.com> wrote in message
news:%235B0psvaEHA.3012@tk2msftngp13.phx.gbl...
> Hi, I couldn't draw text with postscript font using GDI+.  Although I
could
> use GDI to set the postscript font however when I began to draw text with
> drawstring() function, it complained that the font needed to be true type
> font.  Can anyone help me.  Is there a software that convert postscript to
> true type font? Please..........help............ me...........
>
>
>
>


Relevant Pages

  • Re: Passcode to submit form
    ... Fortunately, in dotnet,we have the GDI+ APIS ... > Font font = new Font( ... > MemoryStream oStream = new MemoryStream; ... > #Web Graphics On The Fly in ASP.NET ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Out of Memory Exception
    ... the Dispose() method of the thumbnail control. ... font handle every time I call it? ... >> eventually I get an error in the paint, somewhere deep in GDI and usually ... >> public int cx; ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: **********DrawString is not drawing the text at Point(0,0)**********
    ... Chapter 6, Font Files, explains the tables you need to decode. ... Answer those GDI+ questions with the GDI+ FAQ ... >> Bob Powell [MVP] ...
    (microsoft.public.dotnet.languages.vb)
  • Re: GDI+ renders some phrases without spaces
    ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... Answer those GDI+ questions with the GDI+ FAQ ... > generation to render the font. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Fonts
    ... I don't think the extension is a major thing, apart from the way extensions are used in Windows as a convenient marker of a file's type for various reasons. ... I think most applications, or at least certainly the Windows font handling systems, care more about what a file actually contains rather than what its file extension is. ... I have both Open Type and True Type fonts, with the vast majority being Open Type and only a small number being standard True Type, but in all cases the filename of the font file has a .ttf extension. ...
    (microsoft.public.vb.general.discussion)