"token_space" modifications to count number of spaces [message #870843] |
Wed, 09 May 2012 20:49 |
Joe Ertaba Messages: 17 Registered: April 2012 |
Junior Member |
|
|
Hi,
I am trying to modify the token_space CSS class to show the number of spaces to user. Here is the CSS code:
pastebin.mozilla.org/1628637
- In this code the image has been changed to SVG image so the scaling doesn't affect the resolution.
The only problem I have is the way to calculate background-size. For a particular font, the aspect ration of width/height is known. Can I get this info from Orion?
Here is a sample result:
s16.postimage.org/47mgwxilf/test.png
As you can see if the "background-size" has been chosen properly, the outcome is great!
[Updated on: Wed, 09 May 2012 20:50] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02151 seconds