From nobody Thu Apr 25 05:49:20 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 206.53.239.180 is neither permitted nor denied by domain of freelists.org) client-ip=206.53.239.180; envelope-from=patchew-devel-bounce@freelists.org; helo=turing.freelists.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=none (zoho.com: 206.53.239.180 is neither permitted nor denied by domain of freelists.org) smtp.mailfrom=patchew-devel-bounce@freelists.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from turing.freelists.org (turing.freelists.org [206.53.239.180]) by mx.zohomail.com with SMTPS id 1519835942726211.91187729298258; Wed, 28 Feb 2018 08:39:02 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 570D52B3D2; Wed, 28 Feb 2018 11:39:01 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sIF38TE300-1; Wed, 28 Feb 2018 11:39:01 -0500 (EST) Received: from turing.freelists.org (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 077FA20D9F; Wed, 28 Feb 2018 11:39:00 -0500 (EST) Received: with ECARTIS (v1.0.0; list patchew-devel); Wed, 28 Feb 2018 11:39:00 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BD8112B3D2 for ; Wed, 28 Feb 2018 11:39:00 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LtUawu8tO4BT for ; Wed, 28 Feb 2018 11:39:00 -0500 (EST) Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id A19BF20D9F for ; Wed, 28 Feb 2018 11:39:00 -0500 (EST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B8E93EAEB2 for ; Wed, 28 Feb 2018 16:38:59 +0000 (UTC) Received: from donizetti.redhat.com (unknown [10.36.118.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id 40EDA2024CA8 for ; Wed, 28 Feb 2018 16:38:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org; s=turing; t=1519835941; bh=XZwm54RvWHooSW//QokxUxpLPswaQfGVJdmxn+JRM5c=; h=From:To:Subject:Date:Reply-To:List-help:List-unsubscribe:List-Id: List-subscribe:List-owner:List-post:List-archive; b=kzhaA+r914myLl3ELn+961UWGC0F8WCiFpT3HwDldge7qz23x1lhu4BVu/iRe1jpx tHE36OBYvCbPLgZrIDeuX+txEwMMtS+WwcTilBuYoEt9iYYq5kDVKyrH1sok4dbzqo YuGXcZ8fnAUn3uIrd3tLygfwm9dsiUxzjE+PCfpU= X-Virus-Scanned: Debian amavisd-new at turing.freelists.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org; s=turing; t=1519835941; bh=XZwm54RvWHooSW//QokxUxpLPswaQfGVJdmxn+JRM5c=; h=From:To:Subject:Date:Reply-To:List-help:List-unsubscribe:List-Id: List-subscribe:List-owner:List-post:List-archive; b=kzhaA+r914myLl3ELn+961UWGC0F8WCiFpT3HwDldge7qz23x1lhu4BVu/iRe1jpx tHE36OBYvCbPLgZrIDeuX+txEwMMtS+WwcTilBuYoEt9iYYq5kDVKyrH1sok4dbzqo YuGXcZ8fnAUn3uIrd3tLygfwm9dsiUxzjE+PCfpU= X-Original-To: patchew-devel@freelists.org X-Virus-Scanned: Debian amavisd-new at turing.freelists.org From: Paolo Bonzini To: patchew-devel@freelists.org Subject: [patchew-devel] [PATCH] jsdifflib: font cleanup Date: Wed, 28 Feb 2018 17:38:58 +0100 Message-Id: <20180228163858.9847-1-pbonzini@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 28 Feb 2018 16:38:59 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 28 Feb 2018 16:38:59 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'pbonzini@redhat.com' RCPT:'' X-archive-position: 61 X-ecartis-version: Ecartis v1.0.0 Sender: patchew-devel-bounce@freelists.org Errors-to: patchew-devel-bounce@freelists.org X-original-sender: pbonzini@redhat.com Precedence: normal Reply-To: patchew-devel@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: patchew-devel X-List-ID: patchew-devel List-subscribe: List-owner: List-post: List-archive: X-list: patchew-devel X-ZohoMail-DKIM: pass (identity @freelists.org) X-ZohoMail: RDKM_0 RSF_4 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Having "Courier" in the font list somehow activates ligatures, which is a bad idea for a monospaced font. For the headings, Bitstream Vera Sans (and the extended version DejaVu Sans) is much more similar to Verdana than Arial and Helvetica. Leave sans-serif as a final fallback, which will probably be one of Arial/Helvetica/Liberation Sans, but prefer the clearer Verdana-like fonts. Signed-off-by: Paolo Bonzini --- static/jsdifflib/diffview.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/jsdifflib/diffview.css b/static/jsdifflib/diffview.css index 811a593..94aadf6 100644 --- a/static/jsdifflib/diffview.css +++ b/static/jsdifflib/diffview.css @@ -33,10 +33,10 @@ table.diff { white-space:pre-wrap } table.diff tbody {=20 - font-family:Courier, monospace + font-family:monospace; } table.diff tbody th { - font-family:verdana,arial,'Bitstream Vera Sans',helvetica,sans-serif; + font-family:Verdana,'DejaVu Sans','Bitstream Vera Sans',sans-serif; background:#EED; font-size:11px; font-weight:normal; @@ -49,7 +49,7 @@ table.diff tbody th { table.diff thead { border-bottom:1px solid #BBC; background:#EFEFEF; - font-family:Verdana + font-family:Verdana,'DejaVu Sans','Bitstream Vera Sans',sans-serif; } table.diff thead th.texttitle { text-align:left --=20 2.14.3