|
|
Image compares kerning of CircleText () macro, text{} object and my kerning()
macro posted some time ago in
http://news.povray.org/sa6q6u8ic6tt2ntql1kt4mm2fiebtf1pih%404ax.com
Note placing dots, commas and hidden "e" under "x" in "Text" word.
I suggest to use my method becouse it considers kerning with the same letters
as in original text instead of sometimes not defined "|". It also considers
kerning with pairs (and large sets) of chars. Any comments ?
Here is source to obtain attached image:
#local String="A,B.C,D,G... - ";
#local Font="Adks____.ttf";
#include "shapes.inc"
#include "kerning.inc" // macros posted some times ago to p.t.scene-files
union{
object{
Circle_Text(Font,concat(String,"CircleText()"),1,0,0,4,0,Align_Center,0)
rotate z*90
}
text{ttf Font,concat(String,"text in POV"),0,0 translate <-5,1,0>}
object{
text_ttf(Font,concat(String,"kerning() by ABX"),0,0)
translate <-5,-1,0>
}
translate z*10
pigment{rgb 1}
}
light_source{-100*z 1}
ABX
Post a reply to this message
Attachments:
Download 'test.png' (27 KB)
Preview of image 'test.png'
|
|