Nico Weber wrote:
> I agree, but I couldn't get this to work with Cocoa. I tried passing  
> fractional coordinates to -[NSString drawAtPoint:withAttributes:]  
> directly, and I also tried using a fractional translational  
> NSAffineTransform. It seems that Cocoa truncates the coordinate  
> before drawing the text.

That's a shame.  What about putting some fractional space before the  
text and shifting the coordinates to the left?  Unicode has several  
space characters, some of which are quite tiny:

U+0020 space
U+2002 en space
U+2003 em space
U+2004 three-per-em space
U+2005 four-per-em space
U+2006 six-per-em space
U+2007 figure space
U+2008 punctuation space
U+2009 thin space
U+200A hair space

-Tobia

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to