Chris Young
3179a891d6
Fix actual_x
...
svn path=/trunk/netsurf/; revision=6968
2009-03-28 14:12:31 +00:00
John Mark Bell
41d2eca3b1
Port our UTF-8 routines to parserutils (only enabled when building against 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
2009-02-17 23:44:17 +00:00
Chris Young
f4d1f89957
It's probably a good idea to free memory once we've finished with it.
...
svn path=/trunk/netsurf/; revision=6222
2009-01-24 12:24:15 +00:00
Chris Young
161dea3d8b
Implement bold and italic font rendering for Unicode display and make it the default.
...
svn path=/trunk/netsurf/; revision=6155
2009-01-20 16:53:06 +00:00
Chris Young
ddd59deaf2
position in string was off by one
...
svn path=/trunk/netsurf/; revision=6141
2009-01-18 12:15:48 +00:00
Chris Young
1417b0c0b8
Complete Unicode text display implementation bar styles (bold, italic)
...
Need to find out why it is freezing on yahoo.ru
svn path=/trunk/netsurf/; revision=6115
2009-01-17 15:29:41 +00:00
Chris Young
da4b0580b9
Most nsfont placement routines done for UTF-8 printing, missing the odd character off
...
of the end of lines though so needs some tweaking.
svn path=/trunk/netsurf/; revision=6109
2009-01-17 00:43:51 +00:00
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