Re: Font representation
Hmm...
Text measures became identical. But a font became... bold or something.
But it was really interesting, thank you!
On Wed, 21 Jun 2006 14:38:14 +0400, Barry Kelly <barry.j.kelly@xxxxxxxxx>
wrote:
"Andrey Dzizenko" <A.Dzizenko@xxxxxxxxxxxxxxxxxx> wrote:
Is there any method to draw text (using Graphics) that looks like in MS
Word? It has another parameters like spacing or char width.
There's an idea that it's caused by differences of GDI and GDI+. But
what
to do with it?
I've found this interesting:
http://wesnerm.blogs.com/net_undocumented/2006/06/text_mess_in_ne.html
-- Barry
.
Relevant Pages
- Puzzles with printed output
... I'm working with printing from a subclass of JTextPane. ... but I had similar problems with Swing's built-in Serif font. ... same as in printed output from Word), but it appears to be bold, although I ... Line spacing on the screen is the same as in Word (with Word's line spacing ... (comp.lang.java.gui) - Re: DrawString - few font styls in the same row
... If you're using GDI or GDI+ to render text then there is no simple way, ... position of each contiguous block of formatted text and render it, ... both accept Font parameters. ... Is it possible to draw string with few font styls, like in WORD (i.e. Bold ... (microsoft.public.dotnet.languages.csharp) - 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: How to draw string with postscript font instead of true type font?
... If you must use that specific font you'll have to use interop and GDI. ... you may be able to find an equivalent True Type font ... I couldn't draw text with postscript font using GDI+. ... (microsoft.public.dotnet.framework.drawing) - 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) |
|