Commit Graph

113 Commits

Author SHA1 Message Date
Ole Loots
10e5597a94 Removed junk 2012-08-25 05:47:23 +02:00
Ole Loots
2988193e44 Documented font loading / font names. 2012-08-25 05:44:44 +02:00
Ole Loots
c5a84e17f7 Merged some features from framebuffer freetype impl.
- Set default font for font faces which failed to
   load.
 - Lookup more font faces (Cursive, Fantasy).
2012-08-25 05:23:10 +02:00
Ole Loots
ff2f1f1836 Added missing copyright headers 2012-08-24 00:47:37 +02:00
Ole Loots
e454cf3f9c Fix provided by Michale Drake.
Fix freetype nsfont_position_in_string to return nearest, rather than
next.
2012-08-04 02:51:46 +02:00
Ole Loots
e1a9a98e05 Fixed colour type for vs* functions, added comments. 2012-07-25 13:58:38 +02:00
Ole Loots
4ade97334a Changed toolbar_bg_color to type "colour",
Now the toolbar background can be configured
as RGB colour.
2012-07-23 14:48:50 +02:00
Ole Loots
957f9dc7c8 renamed plot functions (use plot_ prefix) 2012-07-23 02:34:21 +02:00
Ole Loots
eb2ec532e8 renmaed plot functions (use plot_ prefix). 2012-07-23 02:30:11 +02:00
Ole Loots
2158ed7bce moved "bitmap_resize()" to bitmap.c 2012-07-23 02:03:09 +02:00
Ole Loots
72a9071cb2 Inline some functions 2012-07-23 00:21:28 +02:00
Ole Loots
f2aa118025 Refactor plot implementation (removed old files) 2012-07-13 22:21:06 +02:00
Ole Loots
37b8c5d83d Plotter refactor: removed one plotter abraction layer. 2012-07-13 22:19:04 +02:00
Ole Loots
bad987b185 added some missing WITH_8BPP_SUPPORT ifdefs.
svn path=/trunk/netsurf/; revision=13974
2012-06-19 23:06:39 +00:00
Ole Loots
2b0781a2f4 Some cleanups and additions required for the toolbar icon redraw.
svn path=/trunk/netsurf/; revision=13937
2012-06-03 17:09:19 +00:00
Ole Loots
6d125e79b3 Fixed prototyp, comments.
svn path=/trunk/netsurf/; revision=13925
2012-05-13 15:33:58 +00:00
Ole Loots
ea411f6c34 Fix typo ( fontbitmap was never destroyed within dtor )
svn path=/trunk/netsurf/; revision=13889
2012-04-24 20:51:52 +00:00
Ole Loots
68cd53ee66 Small font plotter speedup by reducing function calls in a draw glyph loop.
svn path=/trunk/netsurf/; revision=13888
2012-04-24 20:47:38 +00:00
Ole Loots
4204599fb9 Optimized bitmap blitting: cache native (converted) bitmaps.
This required an change to the convert and blit routines - for opaque images, they convert the whole image. Transparent images are still converted on demand and still only the clipped area is converted. This is incomplete - native buffers should be stored in the well known bitmap buffer, but currently the bitmap struct holds a second buffer which contains converted data.

svn path=/trunk/netsurf/; revision=13886
2012-04-19 22:44:49 +00:00
Ole Loots
b400b7c22b Introduced BITMAPF_BUFFER_NATIVE, for fast redraw of bitmaps.
svn path=/trunk/netsurf/; revision=13845
2012-04-10 23:06:21 +00:00
Ole Loots
974f536794 Fixed declarations of set_std_pixel / get_std_pixel
svn path=/trunk/netsurf/; revision=13553
2012-03-22 21:34:13 +00:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Ole Loots
b9092d6271 Restructured the plotter driver struct and declared misc functions static within the vdi driver.
svn path=/trunk/netsurf/; revision=13519
2012-03-14 22:06:07 +00:00
Ole Loots
2e65e51fc5 Added GD Plotter stub.
svn path=/trunk/netsurf/; revision=13512
2012-03-12 21:24:38 +00:00
Ole Loots
4604f293b7 Removed unused plotter members.
svn path=/trunk/netsurf/; revision=13511
2012-03-12 21:20:18 +00:00
Ole Loots
174b52a0fd more #ifdef WITH_8BPP_SUPPORT
svn path=/trunk/netsurf/; revision=13467
2012-02-25 15:23:00 +00:00
Ole Loots
af89069dad Added missing prototypes.
svn path=/trunk/netsurf/; revision=13382
2012-01-06 22:10:10 +00:00
Ole Loots
097800ff47 Fix rectangle fill, only add/subtract stroke_width when the rectangle has an outline.
svn path=/trunk/netsurf/; revision=13374
2012-01-05 22:38:02 +00:00
Ole Loots
1beb016c47 Reverted last change and only apply color conversion for alpha channel glyphs.
svn path=/trunk/netsurf/; revision=13373
2012-01-03 23:38:51 +00:00
Ole Loots
68466df8a2 Fix clipping and only apply color conversion for hicolor systems.
svn path=/trunk/netsurf/; revision=13372
2012-01-03 23:29:25 +00:00
Ole Loots
5cdfd5a086 It's now possible to render fonts in monochrom mode.
svn path=/trunk/netsurf/; revision=13371
2012-01-03 23:05:27 +00:00
Ole Loots
08e2052c09 removed comment.
svn path=/trunk/netsurf/; revision=13370
2012-01-03 23:03:09 +00:00
Ole Loots
224d882c03 Fixed font plotter init and added flag for monochrom glyph rendering.
svn path=/trunk/netsurf/; revision=13369
2012-01-03 23:02:38 +00:00
Ole Loots
0977543316 Made internal font plotter compatible with 256 colors.
svn path=/trunk/netsurf/; revision=13367
2012-01-02 14:29:16 +00:00
Ole Loots
eef6b2da4f 256 color plotting: Use vdi to rgb lookup table, made transparency a bit better ( the snapshot problem was related to fvdi, no error in code )
svn path=/trunk/netsurf/; revision=13362
2012-01-02 00:08:14 +00:00
Ole Loots
a195728c51 Added support for 8bit displays, having big problems with transparent plots ( snapshot of background isn't always taken from correct position, maybe a bug in fvdi)
svn path=/trunk/netsurf/; revision=13359
2011-12-31 15:21:49 +00:00
Ole Loots
7d4a0be284 Fixed header, made different font plotters optional.
svn path=/trunk/netsurf/; revision=13230
2011-12-04 12:53:03 +00:00
Ole Loots
5f69abb504 release screen-lock when second lock check fails.
svn path=/trunk/netsurf/; revision=13208
2011-11-29 23:19:18 +00:00
Ole Loots
d25f7cc27e make use of non-blocking request for screen lock.
svn path=/trunk/netsurf/; revision=13202
2011-11-29 21:19:26 +00:00
Ole Loots
2f9ac934e6 Draw rectangle outline manually.
svn path=/trunk/netsurf/; revision=13192
2011-11-28 23:29:35 +00:00
Ole Loots
6227acbd50 Properly redraw the rectangle outline
svn path=/trunk/netsurf/; revision=13172
2011-11-23 22:34:38 +00:00
Ole Loots
8b4c96a953 Comment's...
svn path=/trunk/netsurf/; revision=13171
2011-11-23 22:33:02 +00:00
Ole Loots
dfcd555a0e Fix rectangle plotter, process stroke_type.
svn path=/trunk/netsurf/; revision=13149
2011-11-17 21:49:38 +00:00
Ole Loots
a1f7517f39 edit comments
svn path=/trunk/netsurf/; revision=12634
2011-08-05 01:10:36 +00:00
Ole Loots
2f40a85b67 fixed call parameters for vdi_clip.
svn path=/trunk/netsurf/; revision=12358
2011-05-09 22:08:34 +00:00
Ole Loots
b046d77f3f fixed call parameters for vdi_clip.
svn path=/trunk/netsurf/; revision=12357
2011-05-09 20:46:44 +00:00
Ole Loots
9520ad67fe cleanupd & comments, fixed clipping of mfdb's
svn path=/trunk/netsurf/; revision=12180
2011-04-10 21:47:59 +00:00
Ole Loots
90c2d50d16 added some comments
svn path=/trunk/netsurf/; revision=12177
2011-04-10 21:43:22 +00:00
Ole Loots
b24b7d8de4 When using onscreen plotter: Collect nsfb internal font characters into a single bitmap instead of plotting each character.
svn path=/trunk/netsurf/; revision=12109
2011-03-20 22:28:53 +00:00
Ole Loots
f2c97c3920 init_mfdb() is now able to handle bitmaps with less than 8 bits per pixel.
(needed for monochrom glyph rendering) 

svn path=/trunk/netsurf/; revision=12038
2011-03-13 21:46:59 +00:00
Ole Loots
bf3dc29e04 Added missing call to vst_color
svn path=/trunk/netsurf/; revision=11933
2011-03-07 22:56:11 +00:00
Ole Loots
58ad73bfc8 Adjusted clipping rect changes for atari fronted.
svn path=/trunk/netsurf/; revision=11875
2011-03-01 19:29:40 +00:00
Ole Loots
a80af90142 Implemented OS detection routines provided by GS
svn path=/trunk/netsurf/; revision=11873
2011-03-01 19:27:34 +00:00
Ole Loots
b445ddd6ca Fixed drawing of dotted lines.
svn path=/trunk/netsurf/; revision=11751
2011-02-21 23:23:31 +00:00
Ole Loots
11d0b4b986 Added the framebuffer "internal" font decoder/plotter,
fixed ablend method,
introduced flag for monochrom bitmap drawing. 

svn path=/trunk/netsurf/; revision=11661
2011-02-12 19:56:18 +00:00
Ole Loots
445b337ef3 Added the internal font decoder from frambuffer port.
svn path=/trunk/netsurf/; revision=11660
2011-02-12 19:53:23 +00:00
Ole Loots
699ca79e2d Removed unused code
svn path=/trunk/netsurf/; revision=11659
2011-02-12 19:51:24 +00:00
Ole Loots
caadee5564 Adjusted clipping
svn path=/trunk/netsurf/; revision=11618
2011-02-05 14:29:29 +00:00
Ole Loots
c59b173d21 Improved drawing primitives for true color systems.
svn path=/trunk/netsurf/; revision=11592
2011-02-01 21:27:29 +00:00
Ole Loots
0af7ca1a60 Rearanged includes, fixed VDI style for dashed plots.
svn path=/trunk/netsurf/; revision=11537
2011-01-30 21:48:22 +00:00
Ole Loots
3694345204 Implemented Search Dialog
svn path=/trunk/netsurf/; revision=11536
2011-01-30 19:24:03 +00:00
Ole Loots
c0c423fbca Improved compatibility with classic TOS systems.
svn path=/trunk/netsurf/; revision=11450
2011-01-22 16:43:51 +00:00
John Mark Bell
124e4cd788 Atari frontend (credit: Ole Loots)
svn path=/trunk/netsurf/; revision=11218
2011-01-05 21:02:22 +00:00