From: Werner LEMBERG <wl@gnu.org>
To: eliz@gnu.org
Cc: handa@gnu.org, emacs-devel@gnu.org
Subject: Re: how reliable is rendering of complex scripts?
Date: Sun, 04 Oct 2015 11:40:17 +0200 (CEST) [thread overview]
Message-ID: <20151004.114017.420424381.wl@gnu.org> (raw)
In-Reply-To: <83pp0v0zh8.fsf@gnu.org>
>> The nice thing about `hb-shape' is that it doesn't output graphics
>> but a textual representation of the GSUB and GPOS manipulation
>> results (including reordering of the input). In other words, Emacs
>> could use the same output format in a special test mode, making
>> comparisons very simple – and automated!
>
> Too bad.
Hmm. I consider this as a benefit, since comparison of images is much
harder, especially if the exact environment differs. In particular,
for two identical, correct GSUB/GPOS representations of a text string,
you can easily get different rendering results for GDI and DWrite
ClearType (on Windows), normal grayscale rendering and auto-hinting
from FreeType, grayscale rendering on older Windows versions and Mac
OS X, different color filters used on different platforms etc., etc.
> It means these tests cannot be easily used by Emacs, because [...]
Well, if you need graphic output, use `hb-view', which creates images
of text strings.
> Perhaps a good first step would be for someone to produce pictures
> of the rendered texts from those tests (using Harfbuzz or anything
> else that can be used as reference), and then we could compare that
> with what Emacs produces for the same texts, and see how good or bad
> we are doing.
This is *exactly* what should be avoided IMHO. It's both far too much
work and too imprecise.
Werner
next prev parent reply other threads:[~2015-10-04 9:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 5:39 how reliable is rendering of complex scripts? Werner LEMBERG
2015-10-02 7:30 ` Eli Zaretskii
2015-10-04 4:39 ` Werner LEMBERG
2015-10-04 7:07 ` Eli Zaretskii
2015-10-04 8:09 ` Werner LEMBERG
2015-10-04 9:12 ` Eli Zaretskii
2015-10-04 9:40 ` Werner LEMBERG [this message]
2015-10-04 9:57 ` Eli Zaretskii
2015-10-04 18:06 ` John Wiegley
2015-10-04 19:45 ` Eli Zaretskii
2015-10-04 21:43 ` John Wiegley
2015-10-05 6:05 ` Eli Zaretskii
2015-10-05 18:18 ` John Wiegley
2015-10-05 19:22 ` Eli Zaretskii
2015-10-06 16:17 ` Eli Zaretskii
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=20151004.114017.420424381.wl@gnu.org \
--to=wl@gnu.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=handa@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.