summaryrefslogtreecommitdiff
path: root/amiga/font.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow a fallback font for characters above 0xFFFF to be specified. There is ↵Chris Young2015-07-061-2/+9
| | | | no scanning of this range as most fonts don't have any characters here. Symbola is selected if it is installed.
* Support UTF-16 surrogates. This enables Emoji to be displayed if an ↵Chris Young2015-07-061-6/+24
| | | | | | appropriate font is installed. NB: Currently surrogate glyphs are not able to use the fallback font. The wrong glyphs may be displayed if you use an "old font engine".
* Split UTF-16 char length check into a separate functionChris Young2015-07-061-17/+16
|
* Change LOG() macro to be varadicVincent Sanders2015-05-281-14/+12
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* Split plotting and widthing functions upChris Young2015-02-281-31/+72
|
* micro-optimisationChris Young2015-02-281-7/+7
|
* more microoptimisationChris Young2015-02-231-1/+1
|
* Avoid clobbering the PPC pipelineChris Young2015-02-231-12/+12
|
* Mostly working bitmap font supportChris Young2015-02-221-0/+5
|
* Lazy bitmap font rendered text for slow hardware (non-working)Chris Young2015-02-031-21/+51
|
* Fix bullet.library usageChris Young2015-01-301-12/+12
|
* Fix OS3 buildChris Young2015-01-291-4/+0
| | | | Fix font cache on OS3
* Fix template blit Y position by adjusting the pointer to the templateChris Young2015-01-291-1/+2
|
* Blit text to screen correctly on OS3Chris Young2015-01-291-6/+5
|
* Remove dead codeChris Young2015-01-281-61/+0
|
* Fixup font.c a bit better for OS3Chris Young2015-01-281-6/+37
|
* Stub out font.c and font_scan.c for OS3 for nowChris Young2015-01-121-0/+63
| | | | A more involved fix required for later.
* Fix warningsChris Young2014-11-091-17/+10
|
* Update amiga frontend for split operation table header changesVincent Sanders2014-10-161-13/+15
|
* Put the font operations table alongside all the other core APIVincent Sanders2014-10-131-1/+1
| | | | | | | | | | | | The netsurf core is driven from numerous operation tables most of which are now set through a common netsurf_register() interface. The font and plotting interfaces are currently separate and unlike all the other operation tables are modified for differing contexts. This change moves the font operations alongside all the other operations table and remove unnecessary interaction with the renderers font internals. Further this also removes the need for css internals to be visible in frontends.
* add API to set DPIVincent Sanders2014-10-131-4/+3
|
* Remove debug logging.Michael Drake2014-08-301-5/+0
|
* Confidently remove the debugChris Young2014-06-011-4/+0
|
* Sometimes (but not always) the UTF-16 conversion inserts a BOM. Skip it.Chris Young2014-06-011-0/+2
|
* Filter all control chars from width kerning and fix some const warnings.Chris Young2014-05-191-5/+5
|
* Add logging to nsfont_split function.Michael Drake2014-05-181-1/+9
|
* Don't try to kern a character with \0Chris Young2014-05-181-1/+3
|
* Fix build.Michael Drake2014-05-161-4/+5
|
* Simplfy and clarify splitting function.Michael Drake2014-05-161-21/+16
| | | | Should be funtionally identical.
* Fix a bunch of cppcheck unused/unreadVariable warningsChris Young2014-04-051-2/+0
|
* move scheduleing into browser operation tableVincent Sanders2014-03-091-3/+3
|
* move utf8 conversion routines to use nserror instead of their own error enumVincent Sanders2014-01-281-3/+3
|
* Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR ↵Chris Young2013-10-121-1/+1
| | | | where it is not necessary.
* Revert nsfont_split back to how it was before I started meddling with it.Chris Young2013-08-031-3/+3
|
* Further split fixingChris Young2013-05-281-3/+4
|
* fixup issues with new options API mergeVincent Sanders2013-05-281-3/+3
|
* move options includeVincent Sanders2013-05-281-1/+1
|
* More split fixeryChris Young2013-05-251-2/+2
|
* Another attempt to fix the moving split position when a string fits exactly.Chris Young2013-05-251-4/+3
|
* revert text split changeChris Young2013-05-201-1/+2
|
* Try to avoid the split point jumping around when it occurs exactly on the ↵Chris Young2013-05-181-3/+2
| | | | boundary requested
* Fix a potential crash when plotting glyphsChris Young2013-04-281-6/+6
|
* Fix memory leak and make a point of ignoring UTF-16 surrogatesChris Young2013-04-141-8/+40
|
* Don't recalculate next char positionChris Young2013-04-141-2/+2
|
* ensure the closest character is pickedChris Young2013-03-241-5/+8
|
* update posn_in_string loop to be similar to nsfont_splitChris Young2013-03-241-38/+18
|
* Handle UTF-16 multi-length characters properlyChris Young2013-03-241-97/+98
|
* Fix leaked utf16 string.Michael Drake2013-03-201-0/+2
|
* Ensure that actual_x is set when string fits inside available_width.Michael Drake2013-03-201-34/+27
|
* Fix error.Michael Drake2013-03-201-2/+1
|