From: Latchesar Ionkov <lucho@ionkov.net>
To: 9fans@cse.psu.edu
Subject: Re: diacritics (was: Re: [9fans] don't shoot me)
Date: Mon, 11 Aug 2003 10:33:42 -0400 [thread overview]
Message-ID: <20030811143341.GA12975@ionkov.net> (raw)
In-Reply-To: <Pine.LNX.4.44.0307181133170.9392-100000@fbsd.cpsc.ucalgary.ca>
Showing combining diacritics in Plan9 doesn't require a lot of changes. The
current font implementation supports the ability of drawing something on the
top of the previous character (if Fontchar.left is negative). The only
problem is that Fontchar.width == 0 is a special value that instructs
libdraw to show the glyph of the NUL character.
I think it makes more sense to change the special case to be
(Fontchar.width + Fontchar.left) == 0
instead of
Fontchar.width == 0
It won't break any of the existing fonts and will make the combining
diacritics work as expected.
The change in the code is in /sys/src/libdraw/font.c:275
I changed
if(fi->width == 0)
to
if(fi->width+fi->left == 0)
Does it make sense? Is it going to break anything else?
Thanks,
Lucho
Can we change the special
On Fri, Jul 18, 2003 at 11:37:03AM -0600, andrey mirtchovski said:
> On Fri, 18 Jul 2003, David Presotto wrote:
>
> > <diacritical>.</diaciritical>
>
> this reminds me -- there is a difference between diacritics in X and in Plan 9:
>
> http://pages.cpsc.ucalgary.ca/~mirtchov/screenshots/x-p9-diacritics.png
>
> what can be done to get the X behaviour in Plan 9?
next prev parent reply other threads:[~2003-08-11 14:33 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-18 15:12 [9fans] don't shoot me pac
2003-07-18 15:17 ` Lucio De Re
2003-07-18 19:15 ` Scott Schwartz
2003-07-18 19:34 ` ron minnich
2003-07-18 20:34 ` Dan Cross
2003-07-18 21:10 ` boyd, rounin
2003-07-18 21:51 ` Skip Tavakkolian
2003-07-18 21:58 ` boyd, rounin
2003-07-21 8:28 ` Douglas A. Gwyn
2003-07-21 8:50 ` boyd, rounin
2003-07-21 15:09 ` Dan Cross
2003-07-18 21:13 ` boyd, rounin
2003-07-18 22:06 ` [9fans] Supermon boyd, rounin
2003-07-18 15:17 ` [9fans] don't shoot me ron minnich
2003-07-18 15:23 ` Fco.J.Ballesteros
2003-07-18 15:50 ` Dave Lukes
2003-07-18 17:43 ` boyd, rounin
2003-07-19 3:12 ` Geoff Collyer
2003-07-19 3:45 ` Dan Cross
2003-07-19 3:48 ` boyd, rounin
2003-07-19 4:11 ` Dan Cross
2003-07-19 4:15 ` boyd, rounin
2003-07-21 8:28 ` Anthony Mandic
2003-07-21 8:57 ` boyd, rounin
2003-07-19 4:18 ` boyd, rounin
2003-07-19 4:20 ` Geoff Collyer
2003-07-19 4:26 ` boyd, rounin
2003-08-12 16:09 ` jared jennings
2003-07-18 16:55 ` David Presotto
2003-07-18 17:02 ` ron minnich
2003-07-18 18:22 ` Nigel Roles
2003-07-21 8:27 ` Anthony Mandic
2003-07-18 17:37 ` diacritics (was: Re: [9fans] don't shoot me) andrey mirtchovski
2003-07-18 19:39 ` Scott Schwartz
2003-07-18 21:11 ` boyd, rounin
2003-07-18 22:17 ` northern snowfall
2003-07-18 21:25 ` boyd, rounin
2003-07-18 22:32 ` northern snowfall
2003-07-21 8:28 ` Anthony Mandic
2003-07-21 8:55 ` boyd, rounin
2003-08-11 14:33 ` Latchesar Ionkov [this message]
2003-08-11 18:05 ` rob pike, esq.
2003-08-11 23:49 ` Latchesar Ionkov
2003-08-12 0:32 ` boyd, rounin
2003-08-12 1:27 ` Latchesar Ionkov
2003-08-12 2:04 ` David Presotto
2003-08-12 18:44 ` Chris Hollis-Locke
2003-08-12 19:06 ` Latchesar Ionkov
2003-08-12 21:37 ` Chris Hollis-Locke
2003-08-12 22:02 ` Charles Forsyth
2003-08-13 1:49 ` boyd, rounin
2003-08-13 10:08 ` chris
2003-08-13 10:25 ` boyd, rounin
2003-07-18 17:10 ` [9fans] don't shoot me matt
2003-07-19 6:45 ` Taj Khattra
2003-07-19 6:51 ` boyd, rounin
2003-07-19 11:19 ` Bruce Ellis
2003-07-19 11:41 ` boyd, rounin
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=20030811143341.GA12975@ionkov.net \
--to=lucho@ionkov.net \
--cc=9fans@cse.psu.edu \
/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).