Commit graph

20 commits

Author SHA1 Message Date
Behdad Esfahbod
fbe7044f10 [user-font] Improve docs. 2008-05-30 15:18:22 -04:00
Behdad Esfahbod
45be1459b2 [user-font] Document all public functions
Remains to do: callback types.
2008-05-29 02:35:09 -04:00
Behdad Esfahbod
a9b2461c41 [user-font] Handle metrics-hinting font option 2008-05-28 20:29:11 -04:00
Behdad Esfahbod
b0796bf200 [user-font] Cache extent-space scale in the scaled font 2008-05-28 20:20:46 -04:00
Behdad Esfahbod
abdf04c671 [user-font] Handle the case of a null render_glyph callback 2008-05-28 19:52:56 -04:00
Behdad Esfahbod
50e6957e80 [user-font] Remove completed TODO item
The user-font-proxy test case already does this.
2008-05-28 19:31:51 -04:00
Behdad Esfahbod
f2b385558b [cairo-user-font] Add comment about possibly doing metrics-hinting 2008-05-28 19:30:39 -04:00
Behdad Esfahbod
9b1cbcde32 [user-font] Handle antialiasing font option 2008-05-28 19:27:58 -04:00
Behdad Esfahbod
e8e2386233 Remove some bogus XXX marks
These are all perfectly correct code.  Most are simply there because when
we support vertical text writing mode we need to update there, but that's
pretty trivial.  No special markers needed.

/me is trying to make user-font clean of XXX and TODO marks
2008-05-28 19:10:09 -04:00
Behdad Esfahbod
d7ddde8a32 [cairo-user-font] Make backend struct static 2008-05-28 12:02:16 -04:00
Behdad Esfahbod
238a3117f1 [cairo-scaled-font] Clean up recent locking changes
Based on feedback from Keith.
2008-05-25 01:51:05 -04:00
Behdad Esfahbod
9827dae570 [user-font] Fix fontmap locking
After consulting with Keith Packard we came up with a farily simple
solution.  Documented in the code.
2008-05-25 00:42:28 -04:00
Behdad Esfahbod
96f7178226 [user-font] Lock the font mutex such that user doesn't accidentally use it yet 2008-05-24 23:28:15 -04:00
Behdad Esfahbod
8ff0fa112d Fix typos 2008-05-24 22:11:41 -04:00
Behdad Esfahbod
a3d9918428 [user-font] Note possible locking issue 2008-05-24 20:51:43 -04:00
Behdad Esfahbod
4c1c9d33b1 [user-font] Release fontmap lock around user callback
This makes the user-font-proxy to work now.
2008-05-24 20:48:38 -04:00
Behdad Esfahbod
df9deb1853 [user-font] Set correct device-offset for rotated text
Part of patch from Peter Clifton
2008-05-15 13:13:30 -04:00
Behdad Esfahbod
569cc30411 [user-font] Normalize the space we compute extents in
This way we wouldn't suffer from the limited precision of cairo_fixed_t.
Bug reported by Peter Clifton on mailing list.
2008-05-10 14:58:11 +02:00
Behdad Esfahbod
f1a0e9df0e [user-font] Round glyph origin position 2008-05-10 13:49:23 +02:00
Behdad Esfahbod
17f21ea307 [cairo-user-font] Implement user fonts 2008-05-10 01:21:45 +02:00