summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-16The new code for PS Private in Font Info did not parse the last line changed.George Williams1-1/+1
2011-02-16Barry points out that FF incorrectly loaded an opentype font with an empty ↵George Williams1-0/+8
bluevalues array (FF showed it as not having a bluevalues array at all, the two are different). (pfb files with empty arrays worked as expected).
2011-02-16When ff was started with a .ufo fontdirectory on the command line, it would ↵George Williams2-3/+7
fail to open it (and produce a garbage error message). I suspect the underlying problem would cause other problems too, but haven't found any yet.
2011-02-14Patch by Thomas Klausner to support png1.5 (and some other little supporting ↵George Williams8-213/+698
changes).
2011-02-14User doesn't like that ff does a "fit to window" ever time the user resizes ↵George Williams1-1/+1
the window. So... let's try not doing that.
2011-02-14Someone complained that when ff was maximized it would make itself one cell ↵George Williams1-2/+2
smaller than it should have. Well that's screen size and window manager dependant. It did allow 10 pixels of horizontal border (not knowing what the WM would give it). That's probably too much. And even if a tiny bit of the window is off the screen, it probably doesn't matter much.
2011-02-14Rename two header files from pfaedit*.h to fontforge*.h (and update all ↵George Williams124-125/+123
other files which reference them).
2011-02-14Fix an old misspelling by renaming a file.George Williams3-2/+2
2011-02-14Fix some issues with hv points.George Williams1-2/+2
2011-02-14Add a couple of comments to make behavior clearer.George Williams2-1/+4
Someone complained ff was expecting "exact" arithmetic, when, in fact, he did not understand the nature of the logic involved. The exact tests were not likely to be hit, but were present just in case. The real test was elsewhere.
2011-02-13Change docs to refer to git repository rather than cvs.George Williams7-39/+72
2011-02-11It is now possible to differentiate stems by width (rather than byakryukov6-959/+1179
direction) in the "Change glyph" dialog. This approach produces better results for glyphs like "N" or "g", and thus seems more logical even for the Latin script, where vertical stems are normally "thick" and horizontal ones are "thin". This patch also affects some gdraw internals, since the new layout of the "Change glyph" dialog makes it necessary to dynamically switch the captions of some labels, and the text strings should fit to the space initially reserved for those labels. So it is now possible to assign a list of strings to a label, just like if it was a list button.
2011-02-11Still problems with vertical scrolling in matrix edits (the bug was introducedakryukov2-8/+8
by my previous patch and occurs due to a wrong selection of the expose area: when doing vertical scrolling, the whole table, rather than just the current line, should be redrawn). Also FF used to set the list mark width (and related values) at the very end of the matrix edit control creation process, and so function indicators were disregarded when calculating the initial column widths.
2011-02-11In the patch of 20 Dec 2010, a significant line was deleted by mistake. This ↵pfaedit3-6/+7
broke Add Extrema. Reinstate it.
2011-02-10Sometimes matrix edits would not scroll properly. This was erratic behavior ↵pfaedit1-1/+1
caused by an uninitialized variable. Fixed.
2011-02-10When ff calculated the size of a kerning subtable it was off by two bytes ↵pfaedit3-5/+12
per glyph in the coverage table. This meant that it would sometimes make a table that was slightly too big to be supported and not realize it. I've fixed the bug, and put in checks so that if there's yet another problem like this, at list it will be reported to the user.
2011-02-10An earlier patch added support for horizontal scrolling (shift trackwheel) ↵pfaedit25-50/+138
in the outline glyph window. This builds on that and supports it in (I hope) all windows. Also adds support for apple's wheel which can do both horizontal and vertical motion.
2011-02-10My cidmap files have always been a one to one mapping of cid to unicode. But ↵pfaedit17-5787/+6444
that's not what Adobe does. Many cids get mapped to several code points each. So I've revamped the format to support this. The new map files need the new code (obviously) so don't download one without the other.
2011-01-24Update to CNS-1.6.pfaedit1-2/+73
2011-01-24better.pfaedit1-1/+1
2011-01-24OOps.pfaedit1-1/+1
2011-01-24Scripting didn't let anyone pick a subfont within a pdf file. (did not ↵pfaedit2-4/+4
support: filename(fontname) notation for pdf).
2011-01-24The scripting function "FontsInFile" did not support pdf files, and always ↵pfaedit4-2/+47
returned an empty array when asking if they contained fonts.
2011-01-24Patch by Khaled Hosny to fix crash when importing svg with linked image.michal-n2-3/+4
2011-01-24A small correction to the previous patch.akryukov2-3/+3
2011-01-24One more attempt to fix those damned matrix edit controls and make themakryukov2-15/+28
work as expected (mostly expose issues, affecting vertical scrolling).
2011-01-23Add a few refreshes, fix a few bugs to the Private table code of font info.pfaedit2-3/+14
2011-01-23Forgot to update view after changing a bitmap width.akryukov2-4/+4
2011-01-23Editing PS Private was broken after the recent patch.akryukov2-5/+5
2011-01-23One more...pfaedit1-2/+35
2011-01-23Redo the "PS Private" pane of the Font Info dialog so that it uses a matrix ↵pfaedit6-676/+366
edit rather than the old clumsy list with editing area kludge.
2011-01-22Change the Histogram dialog to use boxes (cosmetic change, shouldn't matter ↵pfaedit2-127/+227
to English speakers, dlg won't have fields overrunning other fields in French).
2011-01-22tests from bug reports.pfaedit3-0/+360
2011-01-22Allow a user to enter values for the PS private dictionary in his/her own ↵pfaedit2-3/+69
locale but convert them to the "C"==PostScript locale when storing them. That is a French user could enter [3,5 20] for BlueValues, but it needs to be converted to [3.5 20] when put in the sfd file (or PS font file).
2011-01-22tweak for greater precision.pfaedit2-6/+9
2011-01-21Couple of tests for long doubles.pfaedit1-3/+65
2011-01-21Fix a few problems to remove overlap that showed up when using long double.pfaedit2-96/+114
2011-01-21I used "double" in many places where I should have used "bigreal". Bigreals ↵pfaedit25-483/+487
become "long double" when appropriate, but doubles stay doubles. I didn't get everything, just the ones I thought important.
2011-01-21Pasting bitmaps from fontview didn't work.akryukov3-4/+5
2011-01-21Two small corrections for metrics view:akryukov2-6/+20
1. Since the {Everything Else} class is now recognized by FF as a valid glyph class, it was possible to occasionally modify a kerning value involving this class in the metrics view. So when asking user if he is going to modify a class-based kerning value or create a new kerning pair, inform him if one of the glyphs from this pair has been actually matched by the {Everything Else} class. 2. Make it possible to easily deselect all glyphs in the metrics view by pressing [Escape].
2011-01-21If a font contains several sets of kerning classes (e. g. for differentakryukov4-92/+106
scripts), and a particular glyph is present in more than one set, then attempting to find a matching kerning value between this glyph and a subsequent glyph might result in selecting the combination with the {Everything Else} class from the first set being processed, even if there are better matches in other sets. Also FF would still complain that the "{Everythin Else}" string in the kern class dialog represents a missing glyph.
2011-01-21Use FT_LOAD_TARGET_MONO instead of FT_LOAD_MONOCHROME for spline rasterizationakryukov2-3/+3
with freetype. This guarantees more accurate rendering of hinted fonts in monochrome mode.
2011-01-21FF used to allow modifying the width (and vwidth) of a bitmap glyph only inakryukov2-8/+10
bitmap-only fonts. This seems to make no sense for TTF, where widths of rasterized glyphs can be set independently for each PPEM.
2011-01-21When modifying OT classes by inserting glyphs from a fontview-basedakryukov2-13/+9
window, the add_char_to_name_list preference item was not respected.
2011-01-20Sigh. Don't want dependencies on stamp.c when doing a distribution.pfaedit1-3/+3
2011-01-20Fix typo.pfaedit1-1/+1
2011-01-20A couple more flags I'd like to expose on the version...pfaedit2-0/+18
2011-01-20With lots more points the chance of proximate intersections increases so ↵pfaedit1-0/+649
here are some errors in quadratic spline processing.
2011-01-20Couple of test cases for doubles.pfaedit1-5/+125
2011-01-20More fixes to remove overlap when using doubles. This one is a typo that's ↵pfaedit2-3/+10
been there a long time.