]>
git.tdb.fi Git - ttf2png.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Mikko Rasa [Thu, 3 May 2018 16:24:59 +0000 (19:24 +0300)]
Add support for generating distance field textures
Mikko Rasa [Thu, 3 May 2018 16:18:31 +0000 (19:18 +0300)]
Round kerning values to nearest integer rather than down
Mikko Rasa [Thu, 3 May 2018 11:01:59 +0000 (14:01 +0300)]
Use unsigned char for image data
Mikko Rasa [Thu, 3 May 2018 10:19:29 +0000 (13:19 +0300)]
Fix a memory leak
Mikko Rasa [Thu, 3 May 2018 10:06:26 +0000 (13:06 +0300)]
Fix scaling of font ascent and descent
Descent value is often negative and right-shifting a negative value is
implementation-defined. Best to avoid it.
Also round descent down instead of up.
Mikko Rasa [Thu, 3 May 2018 09:24:14 +0000 (12:24 +0300)]
Support monochrome bitmaps
Mikko Rasa [Thu, 3 May 2018 09:04:54 +0000 (12:04 +0300)]
Refactor glyph bitmap copying into a separate function
Also write it in a way that doesn't duplicate the loops.
Mikko Rasa [Sat, 14 Apr 2018 14:20:02 +0000 (17:20 +0300)]
Add a flag for non-power-of-two images
Mikko Rasa [Sat, 14 Apr 2018 14:17:30 +0000 (17:17 +0300)]
Add a default code point range if none were specified
Mikko Rasa [Sat, 14 Apr 2018 14:12:01 +0000 (17:12 +0300)]
Make sure there code point ranges are in order
And that there are no overlapping ranges. The grid rendering logic
depends on being able to determine the total range of code points from
the first and last converted glyph.
Mikko Rasa [Sat, 14 Apr 2018 13:45:10 +0000 (16:45 +0300)]
Support multiple disjoint code point ranges
Mikko Rasa [Sat, 14 Apr 2018 13:29:08 +0000 (16:29 +0300)]
Improve glyph details output with -vv
The code point is now printed in the standard Unicode syntax. A UTF-8
encoded character is also printed when applicable.
Mikko Rasa [Sat, 14 Apr 2018 13:28:50 +0000 (16:28 +0300)]
Don't crash if no glyphs were found
Mikko Rasa [Sat, 14 Apr 2018 13:28:19 +0000 (16:28 +0300)]
Support more ways of specifying code point ranges
Mikko Rasa [Sat, 14 Apr 2018 12:01:41 +0000 (15:01 +0300)]
Improve type usage
Use unsigned for numbers for which negative values do not make sense.
Add a typedef for bool to better annotate the intended use of flag
variables.
Mikko Rasa [Sat, 14 Apr 2018 11:51:55 +0000 (14:51 +0300)]
Refactor option processing
Conversion code was moved to utility functions. Numeric values are now
checked for being in the proper range and not having garbage at the end.
Mikko Rasa [Sat, 14 Apr 2018 10:40:46 +0000 (13:40 +0300)]
Minor polishing of usage message and readme
Mikko Rasa [Sat, 14 Apr 2018 10:29:19 +0000 (13:29 +0300)]
Eliminate alignment from variable declarations
It causes trouble when adding variables with longer types than existing
ones. Also reformat an incorrectly wrapped comment.
Mikko Rasa [Sat, 14 Apr 2018 09:20:52 +0000 (12:20 +0300)]
Update the Makefile to look for libpng16
Libpng12 is quite old and 16 has been the default in Debian stable since
last year.
Mikko Rasa [Tue, 14 Jul 2015 10:10:51 +0000 (13:10 +0300)]
Bump version to 1.1
Mikko Rasa [Tue, 14 Jul 2015 10:08:35 +0000 (13:08 +0300)]
Make margin and padding in packed mode controllable
Mikko Rasa [Tue, 14 Jul 2015 09:59:33 +0000 (12:59 +0300)]
Avoid warning about signed/unsigend mismatch
FreeType recently changed some fields in FT_Bitmap to unsigned.
Mikko Rasa [Thu, 28 Nov 2013 10:11:11 +0000 (12:11 +0200)]
Generate only as tall image as needed in sequantial grid mode
Mikko Rasa [Fri, 23 Nov 2012 21:53:04 +0000 (23:53 +0200)]
Bump version to 1.0
Mikko Rasa [Fri, 23 Nov 2012 21:51:21 +0000 (23:51 +0200)]
Makefile improvements
Mikko Rasa [Fri, 23 Nov 2012 21:40:50 +0000 (23:40 +0200)]
Enable compiler optimizations and fix some warnings
Mikko Rasa [Fri, 23 Nov 2012 20:29:11 +0000 (22:29 +0200)]
Minor cleanup
Mikko Rasa [Fri, 23 Nov 2012 20:27:48 +0000 (22:27 +0200)]
Fix some memory errors
Mikko Rasa [Fri, 23 Nov 2012 19:23:52 +0000 (21:23 +0200)]
Correctly interpret a single number given to -c
Mikko Rasa [Fri, 23 Nov 2012 18:12:41 +0000 (20:12 +0200)]
Use stricter warnings and make the code compile with them
Mikko Rasa [Fri, 23 Nov 2012 18:02:51 +0000 (20:02 +0200)]
Include kerning information in definition file
Mikko Rasa [Fri, 23 Nov 2012 17:08:17 +0000 (19:08 +0200)]
Better documentation
Mikko Rasa [Fri, 23 Nov 2012 17:04:52 +0000 (19:04 +0200)]
Eliminate some nested loops from the packing algorithm
Mikko Rasa [Fri, 23 Nov 2012 13:34:58 +0000 (15:34 +0200)]
Fix the logic for determining grid range
Mikko Rasa [Fri, 23 Nov 2012 09:45:31 +0000 (11:45 +0200)]
Improve the packing algorithm
Mikko Rasa [Fri, 23 Nov 2012 08:43:08 +0000 (10:43 +0200)]
Add an option to invert colors
Mikko Rasa [Fri, 23 Nov 2012 08:33:27 +0000 (10:33 +0200)]
Support non-square cells
Mikko Rasa [Fri, 23 Nov 2012 07:47:23 +0000 (09:47 +0200)]
Code formatting fixes
Mikko Rasa [Sun, 2 Nov 2008 20:41:25 +0000 (22:41 +0200)]
Version 0.3
Mikko Rasa [Wed, 28 Nov 2007 12:40:05 +0000 (14:40 +0200)]
Version 0.2.2
Mikko Rasa [Mon, 20 Nov 2006 01:12:30 +0000 (03:12 +0200)]
Version 0.2.1
Mikko Rasa [Tue, 19 Sep 2006 11:44:49 +0000 (14:44 +0300)]
Version 0.2
Mikko Rasa [Thu, 28 Oct 2004 19:23:40 +0000 (22:23 +0300)]
Version 0.1.1
Mikko Rasa [Fri, 15 Oct 2004 10:52:29 +0000 (13:52 +0300)]
Version 0.1