[WebKit-devel] About fonts (... again ...?)

Adrian von Bidder avbidder at fortytwo.ch
Thu Aug 20 18:48:52 CEST 2009


Heyho!

(Webkit KPart r1010646 from my Debian packaging hg repository.)

Viewing file:///usr/share/doc/python-sqlalchemy-doc/html/intro.html (sorry, 
I'm offline right now, but I guess the docs of sqlalchemy 0.5 are onlyine, 
too), I noticed that the "code" boxes (and in particular the block schema 
below; since spaces are just spaces, it's not as bad in regular code) do not 
use a monospace font, whereas when viewed in khtml a monospaced font is 
correctly used.  Is this known?  Can I give you details that would help you?

The block schema in question is quite at the top of the file:

+-----------------------------------------------------------+
|             Object Relational Mapper (ORM)                |
+-----------------------------------------------------------+
+---------+ +------------------------------------+ +--------+
|         | |       SQL Expression Language      | |        |
|         | +------------------------------------+ |        |
|         +-----------------------+ +--------------+        |
|        Dialect/Execution        | |    Schema Management  |
+---------------------------------+ +-----------------------+
+----------------------+ +----------------------------------+
|  Connection Pooling  | |              Types               |
+----------------------+ +----------------------------------+

The schema is inside <div class="highlight-python"><pre>; I found
pre {
	background-color: #f0f0f0;	
	border: solid 1px #ccc;
	padding:10px;
	margin: 5px 5px 5px 5px;
	overflow:auto;
	line-height:1.3em;
}
but I didn't find where the highlight-python stuff is defined.  Perhaps 
somebody else cal help me there?

(And btw: why is there this quite noticeable default font size difference 
between khtml and webkit?  Shouldn't a default font setting of 10pt result 
in normal fonts being displayed as 10pt fonts, or at least (scaling in the 
css) as having the same size?

cheers
-- vbi

-- 
Tomorrow we have important delivery and this afternoon out Japanese
colleagues decided that 2000 pages describing our software solution is
not enough. They need at least 500 extra pages. Fortunately it could be
any existing documentation, so we randomly choose POSIX standard Part 1
(535 pages) and the Eclipse basic tutorial (592 pages).
        -- Michal Čihař
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 388 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/webkit-devel/attachments/20090820/a515f616/attachment.sig 


More information about the WebKit-devel mailing list