summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update component version for releaserelease/0.0.5Vincent Sanders2018-08-281-1/+1
|
* Squash another warningJohn-Mark Bell2018-01-221-1/+1
|
* Squash warningJohn-Mark Bell2018-01-221-1/+1
|
* "Old" FontManager: improve Encoding file parser.John-Mark Bell2018-01-222-12/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a non-Unicode world, a (non-Base) encoding may define glyphs for up to 256 character codes. Ensure that at most 256 Encoding file entries are used (as, otherwise, the character code will overflow). In particular, if symbol fonts created for the Unicode Font Manager (which does not have a 256 character limit for an encoding) are installed on a non-Unicode-capable system, only the first 256 glyphs in the font are accessible although the Encoding file may have more than 256 entries. Note, however, that the first 32 character codes will never be used as they are considered control codes. Thus, at most 224 usable characters may be defined. A further wrinkle is that glyph names may map to multiple Unicode codepoints, thus consuming multiple slots in the unicode map (which itself has a fixed size of 256 entries). Thus, it is technically possible for the unicode map to further limit the number of usable characters in a font to fewer than 224. However, unless the font is particularly baroque, this isn't a problem in the real world, because there are only 12 glyph names which map to more than one Unicode codepoint (they map to 2, each, for a total of 24 unicode map entries, if they're all present). Thus, to run out of space in the unicode map, you'd need a font which defines at least 4 of those glyphs twice (and defines the others once, and also defines known glyphs for every other character code). Fixes #2577.
* Fix typoJohn-Mark Bell2018-01-221-1/+1
|
* "Old" FontManager: log character being scanned too.John-Mark Bell2018-01-221-2/+2
|
* Fix typo in log messageJohn-Mark Bell2018-01-211-1/+1
|
* Old FontManager: ignore fonts with no mappingsJohn-Mark Bell2018-01-211-0/+7
| | | | | | | | | | | Ordinarily, this shouldn't happen but, if it does, we don't want to pollute the cache with a blank charset for the font (as we'd prefer to rescan the font next time around in case whatever caused it to have no mappings got fixed in the interim). Existing caches containing blank charsets for such fonts will remain untouched -- this is all best effort, so forcing a rescan by bumping the cache version is not worth doing here.
* Accept FontEncodingNotFound for symbol fonts, too.John-Mark Bell2018-01-211-2/+4
|
* Tolerate FontEncodingNotFound from "old" FM.John-Mark Bell2018-01-211-5/+9
| | | | Additionally, log the FontManager version.
* Log in release builds; enhance init logging.John-Mark Bell2018-01-212-8/+40
|
* Update the component version for releaserelease/0.0.4Vincent Sanders2015-03-081-1/+1
|
* Additional fix for new buildsystemJohn-Mark Bell2014-11-161-1/+1
|
* Fix up for new buildsystemJohn-Mark Bell2014-11-161-3/+3
|
* Update component version for releaserelease/0.0.3Vincent Sanders2014-04-181-1/+1
|
* Add support for multilibJohn-Mark Bell2014-01-132-3/+3
|
* update component version for releaserelease/0.0.2Vincent Sanders2013-04-191-1/+1
|
* Add times to debug output.Michael Drake2012-11-061-3/+16
|
* put makeglyphs tool backVincent Sanders2012-07-172-1/+30
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-294-33/+6
| | | | svn path=/trunk/rufl/; revision=14012
* Only build strfuncs.c if Norcroft is the toolchainreleases/0.0.1John Mark Bell2011-01-021-1/+5
| | | | svn path=/trunk/rufl/; revision=11185
* Port to core buildsystem.John Mark Bell2010-01-0624-111/+104
| | | | | | The python module (and associated make runes) need some love (as does non-GCC building with the core buildsystem in general) svn path=/trunk/rufl/; revision=9792
* Remove obsolete function rufl_substitution_lookup().James Bursa2009-07-071-32/+0
| | | | svn path=/trunk/rufl/; revision=8365
* Auto-detect whether Font_EnumerateCharacters is broken and select font ↵John Mark Bell2009-07-071-1/+142
| | | | | | | | scanning routine based on this information. Stop leaking font handle in rufl_init(). svn path=/trunk/rufl/; revision=8363
* Make font scanning about 7 times faster.John Mark Bell2009-07-061-27/+55
| | | | | | Requires FontManager 3.64 or later. svn path=/trunk/rufl/; revision=8352
* Hack in support for native build with GCC.Michael Drake2009-05-281-5/+24
| | | | svn path=/trunk/rufl/; revision=7599
* Initialise variable to prevent potential crash.John Mark Bell2009-05-251-2/+2
| | | | svn path=/trunk/rufl/; revision=7546
* Make RUfl take account of the multitude of font encodings on old font managers.John Mark Bell2009-05-066-121/+498
| | | | | | This now utilises the Latin2, 3, and 4 sets in the standard ROM fonts, for example. svn path=/trunk/rufl/; revision=7410
* GCCSDK 4 build compatibility (not finished yet)John Tytgat2008-09-281-14/+9
| | | | svn path=/trunk/rufl/; revision=5458
* - Reduced compiler warnings:John Tytgat2007-06-119-49/+65
| | | | | | | | | | | | | | | | | - got rid of aliasing warnings by introducing an extra (void *) casting. - format specifier for 'size_t' type has now 'z' attribute - Injected const attributes (also changing public type rufl_family_list @ rufl.h) - makefile: - support for GCCSDK 3.4 (AOF) and GCCSDK 4 (ELF) based on AB_ELFBUILD (= a variable also used in GCCSDK Autobuilder). - changed the library name from rufl.o to librufl.a. Needed for GCCSDK 4 but if you're using -L<libdir> -lrufl in your link line, this rename make that this works for both GCCSDK 3.4 and GCCSDK 4. [ Also changes for the Norcroft case which haven't been verified and probably no longer working. ] svn path=/trunk/rufl/; revision=3343
* Work around for broken PS printer driver.James Bursa2007-06-101-3/+24
| | | | svn path=/trunk/rufl/; revision=3314
* Fix LOG warnings.James Bursa2007-06-092-2/+3
| | | | svn path=/trunk/rufl/; revision=3313
* Free rufl_substitution_table in rufl_quit().James Bursa2006-12-082-2/+5
| | | | svn path=/trunk/rufl/; revision=3110
* Add built-in font family menu.James Bursa2006-09-303-0/+58
| | | | svn path=/trunk/rufl/; revision=2970
* Merge my local changes into head; I've been sitting on these for far too long.John Mark Bell2006-07-208-197/+742
| | | | | | | | | | | This comprises: 1) Centralised internal font family / sized font lookup (rufl_find.c) 2) Methods to provide access to font and glyph metrics (rufl_metrics.c) 3) Glyph decomposition into path segments (rufl_decompose.c) svn path=/trunk/rufl/; revision=2788
* Fix rufl_font_bboxJohn Mark Bell2006-07-201-1/+1
| | | | svn path=/trunk/rufl/; revision=2787
* Implement rufl_font_bbox (interface to Font_ReadInfo).James Bursa2006-07-173-64/+146
| | | | svn path=/trunk/rufl/; revision=2772
* Use local names in family list. Do not assume font list is sorted by ↵James Bursa2006-07-111-14/+20
| | | | | | identifier. Continue when canonicalising font directory fails. svn path=/trunk/rufl/; revision=2729
* [project @ 2006-02-22 07:52:44 by bursa]James Bursa2006-02-221-6/+5
| | | | | | Remove ununsed flags parameter from width(). svn path=/import/rufl/; revision=2474
* [project @ 2006-02-09 21:31:38 by bursa]James Bursa2006-02-091-13/+6
| | | | | | Remove check for existence of Outlines file. svn path=/import/rufl/; revision=2473
* [project @ 2006-02-03 22:17:04 by bursa]James Bursa2006-02-031-3/+156
| | | | | | Multitask and show status while scanning fonts. svn path=/import/rufl/; revision=2472
* [project @ 2006-01-31 20:07:23 by bursa]James Bursa2006-01-312-2/+2
| | | | | | Improve weight assigning algorithm and make weights 300 and 400 search up when missing. svn path=/import/rufl/; revision=2471
* [project @ 2006-01-29 12:20:25 by bursa]James Bursa2006-01-297-279/+365
| | | | | | Improve handling of font weights. Now detects available weights better and supports up to 9 weights. Ignore control characters and spaces that are not spaces when scanning available characters. svn path=/import/rufl/; revision=2470
* [project @ 2006-01-06 22:57:51 by jmb]John Mark Bell2006-01-061-1/+1
| | | | | | !RiScript -> RiScript svn path=/import/rufl/; revision=2469
* [project @ 2006-01-05 21:53:53 by joty]John Tytgat2006-01-051-0/+2
| | | | | | Igmore Absolute binary and created rufl_glyph_map.c svn path=/import/rufl/; revision=2468
* [project @ 2006-01-05 21:52:44 by joty]John Tytgat2006-01-051-4/+12
| | | | | | Using GCCSDK_INSTALL_ENV/GCCSDK_INSTALL_CROSSBIN and provided install target svn path=/import/rufl/; revision=2467
* [project @ 2005-12-24 21:37:22 by jmb]John Mark Bell2005-12-241-12/+66
| | | | | | | | Ignore fonts generated by RiScript (this may break if the user reconfigures RiScript's generated fonts location - we'll deal with that if it ever becomes an issue) Ignore TeX fonts. Ignore fonts with no Outlines data. svn path=/import/rufl/; revision=2466
* [project @ 2005-11-20 20:08:55 by bursa]James Bursa2005-11-204-59/+151
| | | | | | Implement rufl_paint_callback(). svn path=/import/rufl/; revision=2465
* [project @ 2005-05-01 14:15:41 by jmb]John Mark Bell2005-05-011-0/+1
| | | | | | Fix Norcroft build svn path=/import/rufl/; revision=2464
* [project @ 2005-05-01 10:19:59 by bursa]James Bursa2005-05-016-6/+290
| | | | | | Add Python module. Add support for compiling with Norcroft (mainly required for the Python module). svn path=/import/rufl/; revision=2463