]> git.tdb.fi Git - ttf2png.git/log
ttf2png.git
6 years agoAdd a flag for non-power-of-two images
Mikko Rasa [Sat, 14 Apr 2018 14:20:02 +0000 (17:20 +0300)]
Add a flag for non-power-of-two images

6 years agoAdd a default code point range if none were specified
Mikko Rasa [Sat, 14 Apr 2018 14:17:30 +0000 (17:17 +0300)]
Add a default code point range if none were specified

6 years agoMake sure there code point ranges are in order
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.

6 years agoSupport multiple disjoint code point ranges
Mikko Rasa [Sat, 14 Apr 2018 13:45:10 +0000 (16:45 +0300)]
Support multiple disjoint code point ranges

6 years agoImprove glyph details output with -vv
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.

6 years agoDon't crash if no glyphs were found
Mikko Rasa [Sat, 14 Apr 2018 13:28:50 +0000 (16:28 +0300)]
Don't crash if no glyphs were found

6 years agoSupport more ways of specifying code point ranges
Mikko Rasa [Sat, 14 Apr 2018 13:28:19 +0000 (16:28 +0300)]
Support more ways of specifying code point ranges

6 years agoImprove type usage
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.

6 years agoRefactor option processing
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.

6 years agoMinor polishing of usage message and readme
Mikko Rasa [Sat, 14 Apr 2018 10:40:46 +0000 (13:40 +0300)]
Minor polishing of usage message and readme

6 years agoEliminate alignment from variable declarations
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.

6 years agoUpdate the Makefile to look for libpng16
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.

8 years agoBump version to 1.1
Mikko Rasa [Tue, 14 Jul 2015 10:10:51 +0000 (13:10 +0300)]
Bump version to 1.1

8 years agoMake margin and padding in packed mode controllable
Mikko Rasa [Tue, 14 Jul 2015 10:08:35 +0000 (13:08 +0300)]
Make margin and padding in packed mode controllable

8 years agoAvoid warning about signed/unsigend mismatch
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.

10 years agoGenerate only as tall image as needed in sequantial grid mode
Mikko Rasa [Thu, 28 Nov 2013 10:11:11 +0000 (12:11 +0200)]
Generate only as tall image as needed in sequantial grid mode

11 years agoBump version to 1.0 1.0
Mikko Rasa [Fri, 23 Nov 2012 21:53:04 +0000 (23:53 +0200)]
Bump version to 1.0

11 years agoMakefile improvements
Mikko Rasa [Fri, 23 Nov 2012 21:51:21 +0000 (23:51 +0200)]
Makefile improvements

11 years agoEnable compiler optimizations and fix some warnings
Mikko Rasa [Fri, 23 Nov 2012 21:40:50 +0000 (23:40 +0200)]
Enable compiler optimizations and fix some warnings

11 years agoMinor cleanup
Mikko Rasa [Fri, 23 Nov 2012 20:29:11 +0000 (22:29 +0200)]
Minor cleanup

11 years agoFix some memory errors
Mikko Rasa [Fri, 23 Nov 2012 20:27:48 +0000 (22:27 +0200)]
Fix some memory errors

11 years agoCorrectly interpret a single number given to -c
Mikko Rasa [Fri, 23 Nov 2012 19:23:52 +0000 (21:23 +0200)]
Correctly interpret a single number given to -c

11 years agoUse stricter warnings and make the code compile with them
Mikko Rasa [Fri, 23 Nov 2012 18:12:41 +0000 (20:12 +0200)]
Use stricter warnings and make the code compile with them

11 years agoInclude kerning information in definition file
Mikko Rasa [Fri, 23 Nov 2012 18:02:51 +0000 (20:02 +0200)]
Include kerning information in definition file

11 years agoBetter documentation
Mikko Rasa [Fri, 23 Nov 2012 17:08:17 +0000 (19:08 +0200)]
Better documentation

11 years agoEliminate some nested loops from the packing algorithm
Mikko Rasa [Fri, 23 Nov 2012 17:04:52 +0000 (19:04 +0200)]
Eliminate some nested loops from the packing algorithm

11 years agoFix the logic for determining grid range
Mikko Rasa [Fri, 23 Nov 2012 13:34:58 +0000 (15:34 +0200)]
Fix the logic for determining grid range

11 years agoImprove the packing algorithm
Mikko Rasa [Fri, 23 Nov 2012 09:45:31 +0000 (11:45 +0200)]
Improve the packing algorithm

11 years agoAdd an option to invert colors
Mikko Rasa [Fri, 23 Nov 2012 08:43:08 +0000 (10:43 +0200)]
Add an option to invert colors

11 years agoSupport non-square cells
Mikko Rasa [Fri, 23 Nov 2012 08:33:27 +0000 (10:33 +0200)]
Support non-square cells

11 years agoCode formatting fixes
Mikko Rasa [Fri, 23 Nov 2012 07:47:23 +0000 (09:47 +0200)]
Code formatting fixes

11 years agoVersion 0.3 0.3
Mikko Rasa [Sun, 2 Nov 2008 20:41:25 +0000 (22:41 +0200)]
Version 0.3

11 years agoVersion 0.2.2 0.2.2
Mikko Rasa [Wed, 28 Nov 2007 12:40:05 +0000 (14:40 +0200)]
Version 0.2.2

11 years agoVersion 0.2.1 0.2.1
Mikko Rasa [Mon, 20 Nov 2006 01:12:30 +0000 (03:12 +0200)]
Version 0.2.1

11 years agoVersion 0.2 0.2
Mikko Rasa [Tue, 19 Sep 2006 11:44:49 +0000 (14:44 +0300)]
Version 0.2

11 years agoVersion 0.1.1 0.1.1
Mikko Rasa [Thu, 28 Oct 2004 19:23:40 +0000 (22:23 +0300)]
Version 0.1.1

11 years agoVersion 0.1 0.1
Mikko Rasa [Fri, 15 Oct 2004 10:52:29 +0000 (13:52 +0300)]
Version 0.1