From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Font selection algorithm / how do fonts work / what do you suggest for mono font? Date: Mon, 26 Sep 2016 01:00:05 +0600 Message-ID: References: <87twd46n3c.fsf@gavenkoa.example.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1474840308 16015 195.159.176.226 (25 Sep 2016 21:51:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Sep 2016 21:51:48 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Oleksandr Gavenko Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 25 23:51:45 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boHKl-0003Ce-VP for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Sep 2016 23:51:40 +0200 Original-Received: from localhost ([::1]:40529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boHKk-0002M0-9J for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Sep 2016 17:51:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boEg7-00064x-NH for help-gnu-emacs@gnu.org; Sun, 25 Sep 2016 15:01:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boEg3-000669-J9 for help-gnu-emacs@gnu.org; Sun, 25 Sep 2016 15:01:30 -0400 Original-Received: from mail-lf0-f47.google.com ([209.85.215.47]:36363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boEg3-000664-Bm for help-gnu-emacs@gnu.org; Sun, 25 Sep 2016 15:01:27 -0400 Original-Received: by mail-lf0-f47.google.com with SMTP id g62so124663819lfe.3 for ; Sun, 25 Sep 2016 12:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=CvQbhDMoWe871SwpOcEm9WfV3mchR2U+39fdyGpG4qo=; b=kkWHyRUDmEFn4zsbSQnY4dR3kY6y+VwiabtFUXLo5JX4EPSetW4aVyXpZqs6ogrjs0 Z0PjZTP01dD2mB2pkoXYyKU8vsoJLCDDgHzGUyEVuKrgVJkOp0tplFFrlaEAa2f1WGwL tBFl3rSj0moSMn1Q/Ej/GAgrSOtnSD00b7tKLhh+6SHpJthribU3rlyOS2ClqFmi1kNj TCBKvm3d4SvVOpnD2YnpQcPfTGav80DuyZndX1fw/VUzx+rH/bRe1Z9iCPcZmUrGRH/0 O9IZvZzntKCt9S/As1L3CQFFxJ4UfXCTfvS8cCDHn7ewQyVxSsSlLpJpFWPx6t6U3U6f 8LnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=CvQbhDMoWe871SwpOcEm9WfV3mchR2U+39fdyGpG4qo=; b=Qx+NEwWt5YQmtt88+8DpaD4NnXfF+pDREOR3+YeRZxTg6KH//93Khmv+hG8mbQNBcd mI4yXAvtGvlM4gSEPpLEy4JpXwbQYhERNe/foso2gWoJHBlNhqUJvyENzT9vQqKFaDLI 2zrDmkc2PU/4PS2MwOwymbXki+JUd1EqoXTH8oaCa9hgCo50be/X4pOwPGfJzYKCPBKw POrGDDs+MP9ZYm0bOO7sPRVE+1WzQHYbaopWxfgR0fszavb0nUgghqHDCgipIjEZZtXp YplVNMgAExhEf8p6nfT+AFee474DbSvQMS2hejRF+y1SAvmomIVNSv4S+e/V/u5HVixH wXlQ== X-Gm-Message-State: AE9vXwPO680cI7Lvy0CcctBzdOhPhRxpdoH9nzqqN8+lpfFxInlH0QEAK6QQ9zgeaguSNg6sK1ao3Chu/DKgeQ== X-Received: by 10.25.218.12 with SMTP id r12mr5844578lfg.50.1474830026279; Sun, 25 Sep 2016 12:00:26 -0700 (PDT) Original-Received: by 10.114.80.163 with HTTP; Sun, 25 Sep 2016 12:00:05 -0700 (PDT) In-Reply-To: <87twd46n3c.fsf@gavenkoa.example.com> X-Google-Sender-Auth: KYwRZ9vUiyzA-CE05iK0CrrTUZ8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.47 X-Mailman-Approved-At: Sun, 25 Sep 2016 17:50:37 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111387 Archived-At: On Sun, Sep 25, 2016 at 10:00 PM, Oleksandr Gavenko wr= ote: > Internet full of suggestion about font selection for programmers [=E2=80= =A6] > > Most today recommendations end with vector fonts which is blurry and too = bold > to me. > > My current display has 95 DPI. At 95 DPI, basically, you have a choice: either some amount of blurriness, or some amount of corrupting the intended letter shape. The knob is called hinting. Choose aggressive (=E2=80=9Cfull=E2=80=9D) hint= ing, strokes are pulled to integer pixel coordinates, you get crisp ugly letters. Choose slight hinting, letter shape is preserved as much as practical, but some strokes will be at fractional coordinates and thus blurry. On a typical landscape-oriented monitor, vertical strokes can benefit from subpixel hinting, although some call the result =E2=80=9Crainbow soap= =E2=80=9D. Both problems (blurriness and letter misshaping) pretty much disappear at 2x pixel density or around 192 DPI. (However a new one appears =E2=80=94 you start to hate bitmap graphics, as it is either too blurry or too small.)