From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH] Improve DejaVuSans detection
Date: Tue, 21 Jan 2014 08:46:41 +0100 [thread overview]
Message-ID: <52DE25E1.3030006@gmail.com> (raw)
In-Reply-To: <1390060691-9862-1-git-send-email-arvidjaar@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1733 bytes --]
On 18.01.2014 16:58, Andrey Borzenkov wrote:
> Look also in /usr/share/fonts/truetype, it is installed in this path on
> openSUSE.
>
> Prefer DejaVuSansMono if found, on openSUSE DejaVuSans is proportional font.
>
> Add detected path name to summary output.
>
> ---
> configure.ac | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 2e4cf3c..98f6012 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1378,11 +1378,13 @@ fi
>
> if test x"$starfield_excuse" = x; then
> for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
> - for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu; do
> - if test -f "$dir/DejaVuSans.$ext"; then
> - DJVU_FONT_SOURCE="$dir/DejaVuSans.$ext"
> - break 2
> - fi
> + for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu /usr/share/fonts/truetype; do
> + for font in DejaVuSansMono DejaVuSans; do
> + if test -f "$dir/$font.$ext"; then
> + DJVU_FONT_SOURCE="$dir/$font.$ext"
> + break 2
> + fi
> + done
It's fine to use SansMono for terminal (I'd prefer unifont though) but
this change also changes the way various items in menu are displayed.
Monospace fonts are less dense so allow less info in menu on small screens.
> done
> done
>
> @@ -1805,6 +1807,7 @@ echo grub-mount: No "($grub_mount_excuse)"
> fi
> if [ x"$starfield_excuse" = x ]; then
> echo starfield theme: Yes
> +echo With DejaVuSans font from $DJVU_FONT_SOURCE
> else
> echo starfield theme: No "($starfield_excuse)"
> fi
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 274 bytes --]
next prev parent reply other threads:[~2014-01-21 8:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-12 12:15 [PATCH] look for DejaVu also in /usr/share/fonts/truetype Andrey Borzenkov
2014-01-18 15:58 ` [PATCH] Improve DejaVuSans detection Andrey Borzenkov
2014-01-18 16:26 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-01-18 17:04 ` Andrey Borzenkov
2014-01-21 7:40 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-01-21 16:18 ` Andrey Borzenkov
2014-01-21 7:46 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2014-01-21 16:16 ` Andrey Borzenkov
2014-01-21 23:16 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-01-25 20:05 ` Andrey Borzenkov
2014-01-21 7:29 ` [PATCH] look for DejaVu also in /usr/share/fonts/truetype Vladimir 'φ-coder/phcoder' Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52DE25E1.3030006@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).