30 Commits

Author SHA1 Message Date
Kovid Goyal
b0663c1a3c
... 2017-10-28 13:58:43 +05:30
Kovid Goyal
20ff9ff977
Handle negative x-bearing 2017-10-28 13:54:56 +05:30
Kovid Goyal
d8629a2d5b
DRYer
Reuse most of the code from the draw_complex_glyph code path for drawing
simple glyphs. Avoids overhead of harfbuzz for simple glyphs.
2017-10-28 10:17:27 +05:30
Kovid Goyal
0652fa1696
Finish up harfbuzz based rendering 2017-10-28 09:33:43 +05:30
Kovid Goyal
a5e6ab2bee
More work on complex glyph rendering 2017-10-27 18:17:39 +05:30
Kovid Goyal
b5d105186c
Use width instead of pitch 2017-10-27 14:25:18 +05:30
Kovid Goyal
e274b809e2
oops 2017-10-27 14:11:46 +05:30
Kovid Goyal
a2fdea1a98
... 2017-10-27 13:06:41 +05:30
Kovid Goyal
855d91d9dd
Fix composition of bitmaps 2017-10-27 12:50:49 +05:30
Kovid Goyal
8a049039ef
More work on rendering complex glyphs 2017-10-27 12:42:12 +05:30
Kovid Goyal
4bea6b7ad9
More work on complex glyph rendering 2017-10-27 11:19:57 +05:30
Kovid Goyal
5b0e2311e9
Store hinting flags on the Face object 2017-10-27 11:19:57 +05:30
Kovid Goyal
25c6735a5f
... 2017-10-27 11:19:57 +05:30
Kovid Goyal
1356bcbb9a
Let harfbuzz compile on Travis 2017-10-27 11:19:57 +05:30
Kovid Goyal
91963095d0
More work on rendering complex glyphs 2017-10-27 11:19:57 +05:30
Kovid Goyal
b28cec3236
Give Face objects a nice __repr__ 2017-09-30 08:01:04 +05:30
Kovid Goyal
8d03d7216f
Do not crash when failing to render a glyph, instead render the missing glyph and print an error msg to stderr 2017-09-29 11:57:17 +05:30
Kovid Goyal
7ddaa70498
Cleanup freetype library on exit 2017-09-28 11:22:18 +05:30
Kovid Goyal
e8b5a72c96
Remove GIL management code since it is no longer needed 2017-09-15 10:45:11 +05:30
Kovid Goyal
788f09e855
Use a special test launcher that links the sanitize runtime library directly 2017-05-15 12:07:36 +05:30
Kovid Goyal
882a4f2ab3 Linux: Add support for .ttc files 2017-02-08 21:07:10 +05:30
Kovid Goyal
85e05a447d Linux: Fallback to using bitmapped fonts for characters that are not present in any scalable fonts on the system
Fixes #46
2017-02-08 11:29:24 +05:30
Kovid Goyal
0427f30c2a Improve rendering of italic fonts in linux
Now rather than down-size characters from italic fonts that do not fit
into the cell width, trim the left and right margins to make them fit,
instead.
2017-01-25 20:30:39 +05:30
Kovid Goyal
627225def7 Release GIL in a few more places 2016-11-28 20:34:51 +05:30
Kovid Goyal
87eed1d6de Fix error handling in the constructor 2016-11-28 20:32:35 +05:30
Kovid Goyal
9b9ea23451 ... 2016-11-28 20:22:29 +05:30
Kovid Goyal
1e34948b68 oops 2016-11-28 20:18:05 +05:30
Kovid Goyal
72e3fc7292 Move ft error handling include into a func 2016-11-28 20:16:27 +05:30
Kovid Goyal
cbcc69145c ... 2016-11-28 20:08:51 +05:30
Kovid Goyal
d34db436dd Get rid of the freetype ctypes based bindings 2016-11-28 20:06:42 +05:30