473,657 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

weird kerning problem with DrawString

For some reason whenever I use StringFormat with a trimming set to
EllipsesCharact er, when it does clip the string, it seems to reduce the
kerning (it squishes the letters together). Has anyone else seen this? What
can I do to stop that?

Thanks,
John
Nov 16 '05 #1
5 2244

You are an amateur programmer.

Sami
www.capehill.net

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #2
And you're what, a professional troll?

If you don't understand a post, please don't respond.

"Sami Vaaraniemi" <in**@capehill. net> wrote in message
news:eA******** ******@TK2MSFTN GP11.phx.gbl...

You are an amateur programmer.

Sami
www.capehill.net

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #3
I am sorry John, I did not post the previous message. It was posted by an
imposter. You can tell posts that are not from me that I never insult anyone
on the newsgroups. My posts are purely technical.

Sami
www.capehill.net
"John Wood" <jw****@spaam.o ptonline.net> wrote in message
news:WG******** **********@news 4.srv.hcvlny.cv .net...
And you're what, a professional troll?

If you don't understand a post, please don't respond.

"Sami Vaaraniemi" <in**@capehill. net> wrote in message
news:eA******** ******@TK2MSFTN GP11.phx.gbl...

You are an amateur programmer.

Sami
www.capehill.net

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 16 '05 #4
jlk
Hi guys,

Always check the message headers, when something like this happens.
We're all here to work together.

Denis Milette
programmer

Sami Vaaraniemi wrote:
I am sorry John, I did not post the previous message. It was posted by an
imposter. You can tell posts that are not from me that I never insult anyone
on the newsgroups. My posts are purely technical.

Sami
www.capehill.net
"John Wood" <jw****@spaam.o ptonline.net> wrote in message
news:WG******** **********@news 4.srv.hcvlny.cv .net...
And you're what, a professional troll?

If you don't understand a post, please don't respond.

"Sami Vaaraniemi" <in**@capehill. net> wrote in message
news:eA****** ********@TK2MSF TNGP11.phx.gbl. ..
You are an amateur programmer.

Sami
www.capehill.net

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!




Nov 16 '05 #5
jlk
Hi guys,

Always check the message headers, when something like this happens.
We're all here to work together.

Denis Milette
programmer

Sami Vaaraniemi wrote:
I am sorry John, I did not post the previous message. It was posted by an
imposter. You can tell posts that are not from me that I never insult anyone
on the newsgroups. My posts are purely technical.

Sami
www.capehill.net
"John Wood" <jw****@spaam.o ptonline.net> wrote in message
news:WG******** **********@news 4.srv.hcvlny.cv .net...
And you're what, a professional troll?

If you don't understand a post, please don't respond.

"Sami Vaaraniemi" <in**@capehill. net> wrote in message
news:eA****** ********@TK2MSF TNGP11.phx.gbl. ..
You are an amateur programmer.

Sami
www.capehill.net

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!




Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2588
by: Minti | last post by:
Hi there all, I am having a weird problem in the following Applet code, <begin code> public class MouseInputTester extends java.applet.Applet { private String msg = ""; private int mouseX ; private int mouseY; static int i = 0;
5
463
by: John Wood | last post by:
For some reason whenever I use StringFormat with a trimming set to EllipsesCharacter, when it does clip the string, it seems to reduce the kerning (it squishes the letters together). Has anyone else seen this? What can I do to stop that? Thanks, John
1
1475
by: Kyle Walz | last post by:
I'm working on an app where each page is a like a form (not Windows form) with a set format. Using MSVB.NET 2003 with 1.1 framework. Here's some code: Private Sub PrintText(ByVal sender As Object, ByVal ev As PrintPageEventArgs) Dim brush As Brush = New SolidBrush(Color.Black) Dim font As Font = New Font("Arial", 10, FontStyle.Regular) ' first page
1
1980
by: Joao | last post by:
Hi, I'm trully excited to use VB.NET's PrintDocument to make my printouts. On them I draw strings, images and lines. All perfect, if I invoke the Print or the PrintPreview one time per run. At second time I onvoke print or preview, the DrawLine or DrawImage go well, but the first DrawString the program tries to execute pops an exception: ************** Exception Text ************** System.ArgumentException: Invalid parameter used.
4
4285
by: EvilJordan | last post by:
Has anyone else encountered the problem of TTF files when called upon to generate text in PHP don't seem to have their kerning values applied? Has anyone figured out how to fix it?
4
2476
by: DeWittds | last post by:
I have asked before and got little responce, So I try and try again. The code below prints the data in the same place but does not advance the page. I can see the lblnumber change but print in top of the previous one. So my loop is working, I have the hasmorepages= true set right after each cycle till the loop finishes. Hopefully someone can point out my error. Thanks David DeWitt this part calls the printing code
0
982
by: 112vijay | last post by:
Hi, I need code of leading and kerning of the text in C#. Regards, Vijay
9
2969
by: kynos | last post by:
I would like to paint a box using DrawString, standard Unicode characters (box drawings characters) and monospaced font. Unfortunately for some fonts painted lines contain a break. Example code, in whom one can see the error: private void Form1_Paint (object sender, PaintEventArgs e) ( Font font = new Font ( "Courier New", 9);
2
3331
by: drsmooth | last post by:
Hi, i have made several different things using a double buffer and a jframe before but never had this problem: if you look thrugh the code, you can see that i draw a whole bunch of stuff to the screen and sometimes, i get a frame or two of just blank jframe color public void draw() { BufferStrategy bf = this.getBufferStrategy(); Graphics2D g = null; if(scrollPos>lastCoveredPos) lastCoveredPos =...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8516
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8617
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.