Jump to content

Recommended Posts

Posted

Robert Cailliau’s reverse‐engineering pages are very intelligently reasoned and beautifully illustrated, but they are now effectively unbrowseable due to web browser evolution and web server changes.

Many links and embedded photographs are broken because of misdirected internal URLs.  When I downloaded some of the HTML files and fixed the broken URLs, I noticed that many of the illustrations are illegible because of crazy font sizes (in a recent version of Firefox).

I found that the crazy font sizes are caused by an obscure disagreement between the SVG committee and the CSS committee.  I was able to fix the problem, in the HTML files that I downloaded, by using a tiny shell script which I’ll paste below.

Mr. Cailliau, if you see this, I can send you the HTML files that I’ve fixed, and you can use the shell script below on the other ones.

#! /bin/sh
# Not guaranteed to be safe; if you try this, backup first!
# Takes one argument, the name of the HTML file to be modified.

sed -i 's/\(style="[^"]*font-size:[ .0-9]\+\)\([";]\)/\1px\2/g' "$1"

hr.gif.21075e10ec001a8a70edd66ebf45bb95.gif

-- Robert M.
My avatar is an 1860s‐style stereogram.  Look “through” your screen at it, to see it in 3D.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...