Commit Graph

117 Commits

Author SHA1 Message Date
Chris Young
cd4f5ebd08 nsfont_width implemented for Unicode text
cache outline fonts for big speedup

still need to implement other text size functions
and also bold and italic fonts

svn path=/trunk/netsurf/; revision=6095
2009-01-16 20:05:21 +00:00
Chris Young
15bd48a0da Spacing perfect, text now printing correctly on baseline.
Formatting is mostly only wrong when non-local charset characters are being printed,
due to the current text size calculations routines needing rewriting.

svn path=/trunk/netsurf/; revision=6073
2009-01-15 23:15:17 +00:00
Chris Young
82a801dbfa Much faster Unicode text display (still slower than local charset mode though)
Improved character spacing

Still some formatting issues:
Baseline is ignored
The text size calculation routines need to be re-written for the Unicode display

However sites are mostly readable now with this option enabled.

svn path=/trunk/netsurf/; revision=6072
2009-01-15 22:46:28 +00:00
Chris Young
2967b76f4a Unicode text display. Painfully slow and needs some work wrt text alignment, colours.
The nsfont_width etc functions also need adjustment.

svn path=/trunk/netsurf/; revision=5938
2008-12-27 23:25:42 +00:00
Chris Young
b682523066 Minor improvements to output.
svn path=/trunk/netsurf/; revision=5905
2008-12-13 23:20:49 +00:00
Chris Young
d9c7f033e6 Code cleanup, removed remnants of ttengine experimental code (way too slow to be
useful)

svn path=/trunk/netsurf/; revision=5337
2008-09-15 22:18:33 +00:00
Chris Young
5c9f7937f5 Fixed bold/italic styles
svn path=/trunk/netsurf/; revision=5328
2008-09-15 18:56:11 +00:00
Chris Young
35befab994 Experimental font code to plot Unicode text.
svn path=/trunk/netsurf/; revision=5220
2008-08-30 16:55:25 +00:00
Chris Young
c7da20b4c1 Improved text reflow more
svn path=/trunk/netsurf/; revision=5208
2008-08-26 18:03:07 +00:00
Chris Young
2d4818c5ad Work on local charset encoded strings for improved layout.
svn path=/trunk/netsurf/; revision=5204
2008-08-26 01:21:22 +00:00
Chris Young
f071afe243 Code cleanup.
svn path=/trunk/netsurf/; revision=5167
2008-08-21 21:42:48 +00:00
Chris Young
61294f493e Close fonts properly and default back to initial RastPort font.
svn path=/trunk/netsurf/; revision=5136
2008-08-17 16:22:40 +00:00
Chris Young
ea5e026f7d Fixed font styles
svn path=/trunk/netsurf/; revision=5075
2008-08-12 17:47:35 +00:00
Chris Young
058fcac225 Added code to set correct font.
svn path=/trunk/netsurf/; revision=4986
2008-08-10 09:57:41 +00:00
Chris Young
289196c6ba Functions now return correct values for proper text formatting.
svn path=/trunk/netsurf/; revision=4983
2008-08-09 20:28:35 +00:00
Chris Young
394263bb2f Basic plotter functions and support code for the plotters.
svn path=/trunk/netsurf/; revision=4948
2008-08-07 18:44:28 +00:00
Chris Young
26203b2215 Initial Amiga port files, mostly empty stub functions.
svn path=/trunk/netsurf/; revision=4864
2008-08-02 14:31:32 +00:00