Allan Odgaard
5ce947541c
Use new theme_t API
2012-09-10 22:47:57 +02:00
Allan Odgaard
12f305f82a
Spelling dot was drawn flipped
2012-09-10 14:24:05 +02:00
Allan Odgaard
b149b4215e
Use image for drawing folding dots
...
The color of the image can be set by adding a theme style for the foreground and scoped to “deco.folding”.
2012-09-09 11:32:42 +02:00
Allan Odgaard
21e29fd011
Add support for obtaining folding dots imagery
...
Also remove direct access to context_t’s member data (spelling dot image).
2012-09-09 11:32:41 +02:00
Allan Odgaard
92a058b0dd
Add x- and cap height to metrics_t
...
This is to allow potential background bezels, images, and similar to be aligned with the text.
2012-09-09 11:32:41 +02:00
Allan Odgaard
b6ed16251e
Use wrapper for CGContextRef
...
This allows us to add a few other things like the “misspelled word” image.
2012-09-04 23:53:37 +02:00
Jacob Bandes-Storch
e3aa997b06
Use libc++: replace std::tr1 with std
2012-08-28 13:30:20 +02:00
Allan Odgaard
031fe94fd0
Fix missing underline for misspelled words
...
As we are using a CGImage for this, we miss out on the retina version, so this code should be revised.
2012-08-22 21:35:55 +02:00
Allan Odgaard
81af193412
Expose (effective) wrap column from layout_t
2012-08-18 23:56:58 +02:00
Allan Odgaard
be63bda3e7
Support East Asian Width
...
There is a bunch of functions that deal with the logical column count and these now all count code points with the “east asian width” (unicode) property set as two columns.
This closes issue #206 .
2012-08-18 21:29:05 +02:00
Allan Odgaard
9894969e67
Initial commit
2012-08-09 16:25:56 +02:00