| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Additionally, log the FontManager version.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
svn path=/trunk/rufl/; revision=14012
|
|
|
|
| |
svn path=/trunk/rufl/; revision=11185
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/rufl/; revision=8365
|
|
|
|
|
|
|
|
| |
scanning routine based on this information.
Stop leaking font handle in rufl_init().
svn path=/trunk/rufl/; revision=8363
|
|
|
|
|
|
| |
Requires FontManager 3.64 or later.
svn path=/trunk/rufl/; revision=8352
|
|
|
|
| |
svn path=/trunk/rufl/; revision=7599
|
|
|
|
| |
svn path=/trunk/rufl/; revision=7546
|
|
|
|
|
|
| |
This now utilises the Latin2, 3, and 4 sets in the standard ROM fonts, for example.
svn path=/trunk/rufl/; revision=7410
|
|
|
|
| |
svn path=/trunk/rufl/; revision=5458
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
svn path=/trunk/rufl/; revision=3314
|
|
|
|
| |
svn path=/trunk/rufl/; revision=3313
|
|
|
|
| |
svn path=/trunk/rufl/; revision=3110
|
|
|
|
| |
svn path=/trunk/rufl/; revision=2970
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/rufl/; revision=2787
|
|
|
|
| |
svn path=/trunk/rufl/; revision=2772
|
|
|
|
|
|
| |
identifier. Continue when canonicalising font directory fails.
svn path=/trunk/rufl/; revision=2729
|
|
|
|
|
|
| |
Remove ununsed flags parameter from width().
svn path=/import/rufl/; revision=2474
|
|
|
|
|
|
| |
Remove check for existence of Outlines file.
svn path=/import/rufl/; revision=2473
|
|
|
|
|
|
| |
Multitask and show status while scanning fonts.
svn path=/import/rufl/; revision=2472
|
|
|
|
|
|
| |
Improve weight assigning algorithm and make weights 300 and 400 search up when missing.
svn path=/import/rufl/; revision=2471
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
!RiScript -> RiScript
svn path=/import/rufl/; revision=2469
|
|
|
|
|
|
| |
Igmore Absolute binary and created rufl_glyph_map.c
svn path=/import/rufl/; revision=2468
|
|
|
|
|
|
| |
Using GCCSDK_INSTALL_ENV/GCCSDK_INSTALL_CROSSBIN and provided install target
svn path=/import/rufl/; revision=2467
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Implement rufl_paint_callback().
svn path=/import/rufl/; revision=2465
|
|
|
|
|
|
| |
Fix Norcroft build
svn path=/import/rufl/; revision=2464
|
|
|
|
|
|
| |
Add Python module. Add support for compiling with Norcroft (mainly required for the Python module).
svn path=/import/rufl/; revision=2463
|