coolroad / mactype

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

Mactype - internal hinting #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
This is not an issue but I couldn't find another way to communicate other than 
open an issue.

What is the "internal hinting" in MacType and how is this different from the 
FreeType hinting?

Also, is there a way to control rendering for certain processes? For example, 
the rendering inside a java program like the Intellij IDEA IDE is different 
from native applications. If there is a way to control the rendering only for 
that one application that would be useful.

Has anyone figured out the best options for rendering in Java?

Thanks

Original issue reported on code.google.com by gesly.ge...@gmail.com on 23 Jan 2013 at 10:48

GoogleCodeExporter commented 9 years ago
The so called "internal hinting" is the hinting that the font designer created 
and embedded to the font which is perfectly adjusted to fit the pixel grid, 
while freetype hinting is the hinting automatically generated by freetype 
autohint engine, which is a just passable hinting. 
It is always preferred to use native hinting rather than the freetype ones.

Q:Also, is there a way to control rendering for certain processes? For example, 
the rendering inside a java program like the Intellij IDEA IDE is different 
from native applications. If there is a way to control the rendering only for 
that one application that would be useful.

A:Yes, it is definitely possible and easy.
every profile section has its pre-process gramma. that is somewhat like 
"[General@Winword.exe]".
ie. you could use @AppExeName suffix to the section name to make the setting 
only applied to the specified executable.
note that you can't this suffix to sections like UnloadDll, Exclude, Include. 
They are always global affected.

for programs like java, you have no way to interpret its font rendering, 
because java and some other things like that have their independent font 
rendering engines while Mactype can only interprets the standard Win32 GDI. 

Original comment by flyingsn...@gmail.com on 26 Jan 2013 at 6:30

GoogleCodeExporter commented 9 years ago
Thanks for the reply. I'll try out your suggetion. The font rendering within 
java is good at certain font sizes but not others. For example, Consolas is 
rendered well at sizes 12 and 14 but at size 13 if is very bad. All the 
characters are partially rendered. With "PragmataPro" in Java, there are 
similar issue when using hinting, but renders better with no hinting.

Original comment by gesly.ge...@gmail.com on 26 Jan 2013 at 6:42

GoogleCodeExporter commented 9 years ago
Do you have any suggestions on what settings I could use to improve the 
rendering in MacType for Java. It looks like gdipp does a better job than 
MacType with Java.

Original comment by gesly.ge...@gmail.com on 24 Aug 2013 at 12:47