ports/148182: [patch] Font-size in www/webkit-gtk2 error template.
Romain Tartiere
romain at FreeBSD.org
Sun Jun 27 03:50:08 UTC 2010
>Number: 148182
>Category: ports
>Synopsis: [patch] Font-size in www/webkit-gtk2 error template.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 27 03:50:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Romain Tartiere
>Release: FreeBSD 8.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD marvin.blogreen.org 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #8 r208589M: Thu May 27 16:46:25 CEST 2010 root at marvin.blogreen.org:/usr/obj/usr/src/sys/MARVIN amd64
>Description:
The www/webkit-gtk2 port install an html file displayed when an error is encountered. The font-size used in this page is so big the error message is painful to read. The CSS code gets mangled from the file and font-size is set to '120' instead of '120%', resulting in a rendering using HUGE fonts (%s is replaced by the URL, but invalid %X or just removed, so replacing these 'malformed' '%' with '%%' fix the problem).
>How-To-Repeat:
Install www/epiphany and browse an inexistent URL, e.g.
http://show-me-a-big-font.com
>Fix:
This is purely cosmetic, but here is a patch:
--- patch-WebKit_gtk_resources_error.html begins here ---
$FreeBSD$
--- WebKit/gtk/resources/error.html.orig
+++ WebKit/gtk/resources/error.html
@@ -21,12 +21,12 @@
}
#errorTitleText {
- font-size: 120%;
+ font-size: 120%%;
font-weight: bold;
}
#errorMessageText {
- font-size: 80%;
+ font-size: 80%%;
}
</style>
--- patch-WebKit_gtk_resources_error.html ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list