9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Gary Capell gary@cs.su.oz.au
Subject: bug : /sys/src/cmd/postscript/text2post/text2post.c
Date: Sun, 19 Nov 1995 01:35:23 -0500	[thread overview]
Message-ID: <19951119063523.4dkLpprSQmciOng-GjJ_LmUuhLHISVzQAJ5Bj1F4mYU@z> (raw)

The array fontname is set up assuming that  in "LucidaSansUnicode20",
the 20 is decimal, when it is really hexadecimal.

I noticed this as I've been playing with replacing  combinations like '->'
'==', '!=', '>=' etc. with appropriate Unicode characters in Alef source,
but they wouldn't print properly.

BTW, if you want to try this yourself, it's a few small small changes to
/sys/src/alef/port/lex.c:/^yylex   Don't forget to replace the Bgetc/Bungetc
pairs with Bgetrune Bungetrune.

It's probably not worth doing at all, however.  The code looks a bit prettier,
but is quite a  bit trickier to type, and various utilities won't recognise the
special characters as identifier separators.
-- 
http://www.cs.usyd.edu.au/~gary/






                 reply	other threads:[~1995-11-19  6:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=19951119063523.4dkLpprSQmciOng-GjJ_LmUuhLHISVzQAJ5Bj1F4mYU@z \
    --to=9fans@9fans.net \
    /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).