evilc
29th April 2008, 11:59 AM
Having worked with rlToday, and currently coding an app to do something similar, I have wanted a couple of times to display text with an outline (ie white text with black outline so it is visible on any background) but simply printing a black version of the text in a bigger font underneath white text in a smaller fontsize does not work because of the way fonts are scaled.
However, this got me thinking...
What if one were to design a set of custom fonts for this purpose?
The way I am thinking, you would need two fonts - an "inner" version and an "outer" version. The outer version would have to be scaled about the centre of the letter, not about the baseline, and I would imagine that the spacing on the inner font would need to be as wide as the characters on the outer font.
So, before I waste loads of time getting font editors and seeing if it can be done, I would like to ask if anyone knows if this would be feasible, or if they have successfully done it or failed.
Another idea I suppose would be to print the outer font 4 times (left one, right one, up one, down one) - I guess this would have the same effect but at the cost of speed.
In an ideal world, it would be nice to not have to make an inner font - just to have to make an outer version of existing fonts, but I am not sure this would work unless you could set the spacing of the stock inner font wider.
Comments, suggestions please.
However, this got me thinking...
What if one were to design a set of custom fonts for this purpose?
The way I am thinking, you would need two fonts - an "inner" version and an "outer" version. The outer version would have to be scaled about the centre of the letter, not about the baseline, and I would imagine that the spacing on the inner font would need to be as wide as the characters on the outer font.
So, before I waste loads of time getting font editors and seeing if it can be done, I would like to ask if anyone knows if this would be feasible, or if they have successfully done it or failed.
Another idea I suppose would be to print the outer font 4 times (left one, right one, up one, down one) - I guess this would have the same effect but at the cost of speed.
In an ideal world, it would be nice to not have to make an inner font - just to have to make an outer version of existing fonts, but I am not sure this would work unless you could set the spacing of the stock inner font wider.
Comments, suggestions please.