We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Looking around there are some quite old posts about this (all saying 'no') - has this changed at all in recent years? Any work arounds discovered?
I attach an image of a comparison between text rendered in Indesign, Chrome and Processing to illustrate what I mean.
cheers
Answers
In a word: No.
Without digging into proper kerning logics (I don't know if there is much more about it than the simple...). This looks ok to me...
Code edited: minor improvements...
Funny enough the "kern" that seems to mimics the default is
1.0075
Try it with the text, and font, of the original.
That said, the original looks wrong to me, too extreme in the way it bunches up around the commas...
TfGuy44 - 'No.' Haha! Glad I could make the no more contemporary.
_vk - love your example, I suppose it could be developed so that it applies between individual character pairs, which is really what kerning is, rather than just the letter spacing between all characters?
koogs - example from _vk's code below. You're right, it's not 'right' as such but it's on the way to how I want it to be. The characters are taken from these paintings and are not uniform or particularly well designed as a set.
I new it could not be so simple... :)
This one seems to be tracking...
For P5 2.x you can try
http://www.ricardmarxer.com/geomerative/
I can't remember but there were some others libraries for typography.
Thanks anyway, I will probably just have to accept the updated 'no.'
Java seems to have support for kerning, so if java can do it ... But I don't know how to integrate this with a processing sketch, PFont etc.
If you wanna have a look:
https://docs.oracle.com/javase/tutorial/2d/text/textattributes.html
http://docs.oracle.com/javase/7/docs/api/java/awt/font/TextAttribute.html
http://grepcode.com/file/repo1.maven.org/maven2/com.flagstone/transform/3.0/com/flagstone/transform/font/Kerning.java
and many more...
;)