From 29939f2948999552a4af00560e4875b89aa8858e Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 3 Dec 2006 01:06:48 +0000 Subject: [PATCH] Updated for removal of Mozilla 1.7 support. --- INSTALL | 8 ++++---- README | 38 +++++++++++++------------------------- 2 files changed, 17 insertions(+), 29 deletions(-) diff --git a/INSTALL b/INSTALL index 30d94c5..84963c1 100644 --- a/INSTALL +++ b/INSTALL @@ -5,10 +5,10 @@ VideoLink is written in C++ and requires a recent C++ compiler e.g. g++ 3.3. It requires headers and libraries for Boost, gtkmm, Mozilla or -XULRunner, and expat. I have developed and tested it with Boost 1.32, -gtkmm 2.2.12, Mozilla 1.7.8 and expat 1.95.8 but it may well work with -earlier or later versions of these. I have also tested with Mozilla -1.7.12 and XULRunner 1.8.0.5. +XULRunner, and expat. I am currently building and testing it with +Boost 1.33, gtkmm 2.2.12, XULRunner 1.8.0.8 and expat 1.95.8. It may +well work with earlier or later versions of these, but Mozilla 1.7 is +no longer supported. I use Debian Linux and have not yet attempted to build it on other systems, but it should work on most modern Unix-like systems. diff --git a/README b/README index fa2fddd..e731c65 100644 --- a/README +++ b/README @@ -19,7 +19,7 @@ VideoLink depends on the following software: - expat 1.x - Gtkmm 2.0 - ffmpeg or mjpegtools -- Mozilla 1.7.8 or later, or XULRunner +- Mozilla 1.8 or later, or XULRunner - netpbm - Xvfb (from XFree86 or X.org) @@ -183,30 +183,18 @@ appears to be an absolute limit of 12800 menus on a DVD. Bugs ---- -Under Mozilla 1.7, VideoLink sets the assumed screen resolution to -40 dpi, which I reckon to be the average resolution of a standard -definition TV display. This should mean that text with a font size -expressed in millimetres or points will appear around the specified -size. Unfortunately this setting has a different effect under -Mozilla/XULRunner 1.8: - -Mozilla Assumed Requested Actual size -version resolution size (pixels) (inches) - (dpi) - - 1.7 default:96 20 px 20 0.5 - 1.7 default:96 36 pt 48 1.2 - 1.7 40 20 px 20 0.5 - 1.7 40 36 pt 20 0.5 - 1.8 default:96 20 px 20 0.5 - 1.8 default:96 36 pt 48 1.2 - 1.8 40 20 px 48 1.2 - 1.8 40 36 pt 48 1.2 - -From version 0.10, until I have a proper solution, VideoLink will not -set the assumed screen resolution under Mozilla 1.8. I must advise -against using font sizes in millimetres or points since they will vary -between browser versions. +VideoLink should set the assumed screen resolution to 40 dpi, which I +reckon to be the average resolution of a standard definition TV +display. This would mean that text with a font size expressed in +millimetres or points will appear around the specified size. +Earlier versions of VideoLink did this when built to use Mozilla 1.7. +Unfortunately the resolution setting in Mozilla 1.8 actually affects +measurements in pixels and not measurements in millimetres or points! +The assumed screen resolution is always 96 dpi. + +Please specify measurements such as font sizes in pixels because +measurements in millimetres or points are liable to change if and when +I can override the assumed screen resolution again. Author and copyright -------------------- -- 2.39.5