summaryrefslogtreecommitdiff
path: root/amiga/font.c
Commit message (Collapse)AuthorAgeFilesLines
* Correct aspect ratio correctly and support widescreen displaysChris Young2011-07-171-5/+14
| | | | svn path=/trunk/netsurf/; revision=12607
* Rename DataTypes related code/files/defines to avoid confusion and aid ↵Chris Young2011-05-061-4/+4
| | | | | | | | | | adding support for other DataType classes. Disable MNG/WebP by default as they aren't common and the required libs are quite large; DataTypes can handle these formats for now. svn path=/trunk/netsurf/; revision=12284
* Correct width of the em-square for non-72dpi settingsChris Young2011-05-021-8/+13
| | | | | | Fix warnings svn path=/trunk/netsurf/; revision=12268
* Every five minutes, close any fonts not used in the last five minutesChris Young2011-05-011-2/+45
| | | | svn path=/trunk/netsurf/; revision=12267
* Better loggingChris Young2011-05-011-3/+14
| | | | svn path=/trunk/netsurf/; revision=12266
* If a designed font is defined but not available, error outChris Young2011-05-011-0/+4
| | | | svn path=/trunk/netsurf/; revision=12265
* Don't open fonts until they are neededChris Young2011-04-301-119/+92
| | | | svn path=/trunk/netsurf/; revision=12264
* Make Y DPI a configurable option. Default is 72 (AmigaOS standard)Chris Young2011-04-251-2/+4
| | | | svn path=/trunk/netsurf/; revision=12237
* Logically, this ratio should be x/y not y/xChris Young2011-04-221-1/+1
| | | | svn path=/trunk/netsurf/; revision=12232
* Aspect-corrected font DPI. Needs testing on a mode with non-square pixels ↵Chris Young2011-04-221-15/+40
| | | | | | | | and on a widescreen monitor. svn path=/trunk/netsurf/; revision=12230
* Set font DPI from nscss_screen_dpi to ensure it is always in syncChris Young2011-04-221-1/+15
| | | | | | | Reset font DPI when opening screens to allow us to correct for aspect ratio in the future svn path=/trunk/netsurf/; revision=12229
* Also add softstyle for italicsChris Young2011-04-221-9/+31
| | | | | | Move the values into defines at the top of the file to make them easier to change svn path=/trunk/netsurf/; revision=12228
* Use bold softstyle when no designed bold font is definedChris Young2011-04-221-8/+23
| | | | svn path=/trunk/netsurf/; revision=12225
* Don't scale text plots in front end (Amiga).Michael Drake2011-03-081-4/+4
| | | | svn path=/trunk/netsurf/; revision=11939
* Sprinkle some #ifdef __amigaos4__ aroundJohn Mark Bell2011-01-061-0/+2
| | | | svn path=/trunk/netsurf/; revision=11230
* Amiga font code revamped and fixed. Will now fall back to a different font ↵Chris Young2010-05-061-127/+182
| | | | | | | | | | | if the character isn't present in the current one, this needs a complete or near-complete Unicode font in order to be useful - Code2000 and Bitstream Cyberbit are auto-detected by NetSurf on startup if none is configured. Japanese websites now display correctly, along with Japanese characters within Google UK search results etc. svn path=/trunk/netsurf/; revision=10551
* Fix assert. This is wrong, needs investigation.Chris Young2010-05-031-1/+1
| | | | svn path=/trunk/netsurf/; revision=10549
* Fix loops reading too many charactersChris Young2010-05-031-3/+3
| | | | svn path=/trunk/netsurf/; revision=10548
* Fix assert when clicking empty text boxesChris Young2010-04-301-1/+1
| | | | svn path=/trunk/netsurf/; revision=10531
* Don't check if the next character is outside the printable string, if it is ↵Chris Young2010-04-291-15/+6
| | | | | | | | it'll pick up the NULL terminator anyway. svn path=/trunk/netsurf/; revision=10523
* Text kerningChris Young2010-04-291-17/+58
| | | | svn path=/trunk/netsurf/; revision=10522
* More correct font width calculations/placingChris Young2010-04-291-4/+10
| | | | svn path=/trunk/netsurf/; revision=10518
* Possibly more accurate text placementChris Young2010-04-291-3/+3
| | | | svn path=/trunk/netsurf/; revision=10517
* Fix character offset, which was one character left of where the user clicked ↵Chris Young2010-03-141-2/+3
| | | | | | | | even though the caret itself was placed in the correct location. svn path=/trunk/netsurf/; revision=10128
* More helpful font open errorChris Young2010-01-151-1/+27
| | | | svn path=/trunk/netsurf/; revision=9809
* Fix odd missing charsChris Young2009-10-241-2/+2
| | | | svn path=/trunk/netsurf/; revision=9654
* fix text cursor positioning some moreChris Young2009-09-231-5/+5
| | | | svn path=/trunk/netsurf/; revision=9597
* Click position improvementsChris Young2009-09-051-5/+12
| | | | svn path=/trunk/netsurf/; revision=9541
* Fix missing charactersChris Young2009-09-051-15/+6
| | | | svn path=/trunk/netsurf/; revision=9540
* More simpleChris Young2009-09-051-11/+3
| | | | svn path=/trunk/netsurf/; revision=9539
* Simplify and fix some long-standing highlight/layout issuesChris Young2009-09-051-23/+44
| | | | svn path=/trunk/netsurf/; revision=9538
* Font scaling - scaling now works for printing, need 2nd attempt at ↵Chris Young2009-08-291-1/+1
| | | | | | | | implementing it for browsing. svn path=/trunk/netsurf/; revision=9496
* Merge LibCSS port to trunk.John Mark Bell2009-07-231-6/+4
| | | | svn path=/trunk/netsurf/; revision=8752
* Scale font sizes, for better accuracy.John Mark Bell2009-07-211-3/+3
| | | | svn path=/trunk/netsurf/; revision=8657
* Refactor text plotter and other font functions to remove dependency on CSS.John Mark Bell2009-07-211-58/+44
| | | | svn path=/trunk/netsurf/; revision=8641
* Minor positional changes. This code probably needs a rethink as it doesn't ↵Chris Young2009-07-021-2/+3
| | | | | | | | correctly advance for two-byte UTF8 chars. svn path=/trunk/netsurf/; revision=8276
* Revert accidental changeChris Young2009-06-201-1/+1
| | | | svn path=/trunk/netsurf/; revision=7898
* Modify correct RastPortChris Young2009-06-201-2/+2
| | | | svn path=/trunk/netsurf/; revision=7897
* Support option_font_defaultChris Young2009-06-201-2/+26
| | | | svn path=/trunk/netsurf/; revision=7896
* Adjust minimum font sizeChris Young2009-05-091-2/+2
| | | | svn path=/trunk/netsurf/; revision=7450
* Fix warningsChris Young2009-04-181-13/+14
| | | | svn path=/trunk/netsurf/; revision=7131
* Remove option_quick_text (local charset text printing)Chris Young2009-04-011-287/+122
| | | | svn path=/trunk/netsurf/; revision=7021
* fix text co-ordinateChris Young2009-03-291-2/+2
| | | | svn path=/trunk/netsurf/; revision=6987
* Fix actual_xChris Young2009-03-281-1/+2
| | | | svn path=/trunk/netsurf/; revision=6968
* Port our UTF-8 routines to parserutils (only enabled when building against ↵John Mark Bell2009-02-171-6/+4
| | | | | | | | | Hubbub). Sync our temporary internal copies of these functions with parserutils (which is rather better tested and fixes a number of known bugs in NetSurf's previous UTF-8 handling). Ideally, this will be the only place in NetSurf that has any dependency on parserutils, so port the amiga font code to our internal APIs. svn path=/trunk/netsurf/; revision=6550
* It's probably a good idea to free memory once we've finished with it.Chris Young2009-01-241-5/+10
| | | | svn path=/trunk/netsurf/; revision=6222
* Implement bold and italic font rendering for Unicode display and make it the ↵Chris Young2009-01-201-16/+70
| | | | | | default. svn path=/trunk/netsurf/; revision=6155
* position in string was off by oneChris Young2009-01-181-3/+29
| | | | svn path=/trunk/netsurf/; revision=6141
* Complete Unicode text display implementation bar styles (bold, italic)Chris Young2009-01-171-17/+48
| | | | | | Need to find out why it is freezing on yahoo.ru svn path=/trunk/netsurf/; revision=6115
* Most nsfont placement routines done for UTF-8 printing, missing the odd ↵Chris Young2009-01-171-23/+122
| | | | | | | | character off of the end of lines though so needs some tweaking. svn path=/trunk/netsurf/; revision=6109