msaifali / mactype

Automatically exported from code.google.com/p/mactype
0 stars 0 forks source link

Kerning #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm seeing some kerning issues with mactype. I was previously using gdipp and 
it rendered fonts with better kerning (minor issues, but overall better). I've 
tried different settings to get close to gdipp's rendering but never succeeded. 
I'm not sure whether it's a setting problem or some deeper difference between 
gdipp and mactype. I'm attaching screenshots as well as configurations.

What version of the product are you using? On what operating system?
MacType 1.2012.0406.0
gdipp x64 0.9.1

Please provide any additional information below.

Original issue reported on code.google.com by misiekbo...@gmail.com on 3 May 2012 at 8:26

Attachments:

GoogleCodeExporter commented 8 years ago
You're right, there is a significant difference of font arrangement between 
mactype and gdipp.
generally speaking, gdipp places letters based on freetype width, while mactype 
places letters with Windows GDI32 width. As you can see, freetype outputs a 
more accurate value in most cases, therefore gdipp can make a better kerning of 
characters. However, all the programs are originally designed based on GDI32 
width (ClearType width), if you force the letters to be rearranged by freetype 
width, there will be a mess in display. gdipp solve this problem by hooking a 
lot of GDI32 width related APIs, but there are always some exceptions making 
gdipp works weird like "letter 'i' is missing...", "the cursor is inside a 
letter".
mactype use GDI32 width to arrange letters so that you can create an office 
document with mactype enabled and open it in another PC without mactype, and 
both of them looks identical.

Original comment by flyingsn...@gmail.com on 4 May 2012 at 4:55

GoogleCodeExporter commented 8 years ago
For whatever reason, your MacType text looks slightly worse than mine: 
http://ace.mpql.net/screenshots/2012-05-10_00-53-26.png

I felt like sharing in case a better comparison could be made.

Original comment by Elev...@gmail.com on 10 May 2012 at 4:56

GoogleCodeExporter commented 8 years ago
Is there a possible planned solution for this? I obviously understand not 
having widths match up will cause some problems when the length of text is 
important, but the awful kerning is also a big problem.

Original comment by mylistsa...@gmail.com on 7 Nov 2012 at 9:03

GoogleCodeExporter commented 8 years ago
Some rare bugs are preferable to the kerning issues in that screenshot.  A 
missing 'i' does not make me cringe, but bad kerning is painful.  Of course, a 
cursor inside a letter isn't good either.  I hope you find a solution.  This 
bug is the main thing holding mactype back from greatness.  If only all fonts 
were monospaced...

Original comment by shiretok...@gmail.com on 19 Nov 2012 at 5:46

GoogleCodeExporter commented 8 years ago
"a cursor inside a letter" bug has been fixed in the develop version. And about 
kerning, you need to blame windows for its awful hinting and positioning system.

Original comment by flyingsn...@gmail.com on 20 Nov 2012 at 2:32