On Thu, 11 Dec 2008 21:42:06 +0000 (GMT), Michael Drake wrote: > Borders are plotted by the polygon plotter, which should plot the filled > polygon shape defined by the polygon points, not the filled shape plus a > border outline thickness.
I had a look at this. I can't disable the outline, but I could theoretically set it to be transparent. This doesn't work (probably need to enable something I don't have access to), so I've left it as it is for now. > There may be a similar problem with the fill plotter, although it's hard > to tell because of the alpha channels thing. If you look at the top right > of the News section on the BBC page, for example, it looks as if the white > background box is 1px too wide. And it looks like it's 1px too tall at the > bottom. I think you're right. I've fixed this now. > Also, on the BBC site, the headings like News, Sport and Weather are very > small. I don't know why this would be. On other pages the headings are more correct. Maybe it is because I'm taking the size directly from the style structure (style->font_size.value.length.value) and using that as the font height. Heights on AmigaOS are measured in pixels, but outline fonts tend to be smaller than equivalent bitmap fonts of the same size. > > The lack of alpha channel support is the main thing affecting the > > output now, and the text output I'm in the process of improving but - > > again > > NetSurf core layout code assumes that the desktop screen dpi is 90, btw. > That affects font sizes and stuff. If the AmigaOS screen dpi is not 90 or > its variable, you should set the css_screen_dpi to the right value in the > AmigaOS specific code. I've set it to 72, which is what is traditionally taken as screen DPI here. It's reduced the space between lines but doesn't appear to have affected text size. > > - it relies on alpha channel support so I've had to stop that > > for now. > > Do you know if the SDK you need for that will be available by NetSurf 2.0 > release time? The information I've been given would suggest so. Chris
