tmanderson/VintageLines — pull request #11 by quarnster (2012-10-10 08:18:43+00:00)
Title: Various tweaks

Hi,

I wrote a tiny piece of c code to generate icons from 0-99 using the menlo font rendered with cairo to make them look as close to the font ST2 uses for the line numbers as possible. If you change the icon code from

```python
icon = str(int(math.fabs(cur_line - i)))
```
to
```python
icon = str(i+1)
```
you'll see that besides the obvious aliasing, it's pretty close :)

It doesn't seem as if @2x.png icons are picked up by ST2 so I guess we'll have to live with the aliasing...

I also tweaked the range code so that it only sets icons for the rows that it has icons to use, and use a relative code path for the icons so that they don't have to be copied into the default theme.

Excellent plugin, thanks!