From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25370 Path: news.gmane.org!not-for-mail From: sjoerd siebinga Newsgroups: gmane.comp.tex.context Subject: Re: \uchar and italics question Date: Thu, 19 Jan 2006 11:30:11 +0100 Message-ID: <36EA006B-4A65-4204-8642-B1BD967246FD@zonnet.nl> References: <0CF2F7B4-CF66-4F9C-97BA-C76E727CD56A@zonnet.nl> <6faad9f00601180410x23782c97h70a01b9734d08ce7@mail.gmail.com> <43CE4F18.9070205@wxs.nl> <5F9D5692-2B66-467D-B9D7-A56925B29158@zonnet.nl> <43CECEBD.7030404@wxs.nl> <38818B77-53E9-4526-8D24-8759360B515D@zonnet.nl> <43CF5F35.2020103@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: multipart/mixed; boundary="===============0577545542==" X-Trace: sea.gmane.org 1137666687 20646 80.91.229.2 (19 Jan 2006 10:31:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Jan 2006 10:31:27 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 19 11:31:26 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EzX4f-0004i4-Q9 for gctc-ntg-context-518@m.gmane.org; Thu, 19 Jan 2006 11:31:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F6F91284F; Thu, 19 Jan 2006 11:31:25 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25927-07; Thu, 19 Jan 2006 11:31:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 921A312820; Thu, 19 Jan 2006 11:29:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3929F12820 for ; Thu, 19 Jan 2006 11:29:39 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26708-01-3 for ; Thu, 19 Jan 2006 11:29:37 +0100 (CET) Original-Received: from ibook-G4-2.local (trix.inl.nl [132.229.188.37]) by ronja.ntg.nl (Postfix) with SMTP id 92A6312815 for ; Thu, 19 Jan 2006 11:29:37 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by ibook-G4-2.local (Postfix) with ESMTP id 5A68290345 for ; Thu, 19 Jan 2006 11:30:13 +0100 (CET) In-Reply-To: <43CF5F35.2020103@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25370 Archived-At: --===============0577545542== Content-Type: multipart/alternative; boundary=Apple-Mail-24-445621698 --Apple-Mail-24-445621698 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi Hans, On 19 Jan 2006, at 10:43, Hans Hagen wrote: > can you test with: > > \unexpanded\def\unicodeglyph#1#2% watch the double mapping > {\begingroup > \getvalue{@@\currentucharmapping\strippedcsname\uchar}{#1}{#2}% > \bodyfontsize\unicodescale\bodyfontsize > \font\unicodefont=\truefontname{\unicodestyle\unicodeone} > at \currentfontscale\bodyfontsize > \unicodestrut > \unicodefont\unicodecharcommand{\char\unicodetwo\relax}% > \endgroup} > > i'll change the handlers in not applying a strut by default This seems to do the trick. The bold glyphs look fine. There is however one oddity in italics with the circumflex and caron on capitals and the macron in general. They are so vague that they are hardly visible. Sjoerd --Apple-Mail-24-445621698 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Hi Hans,

On 19 = Jan 2006, at 10:43, Hans Hagen wrote:

can you test = with:


\unexpanded\def\unicodeglyph#1#2% = watch the double mapping

=A0{\begingroup

=A0 = \getvalue{@@\currentucharmapping\strippedcsname\uchar}{#1}{#2}%

=A0 = \bodyfontsize\unicodescale\bodyfontsize

=A0 = \font\unicodefont=3D\truefontname{\unicodestyle\unicodeone}<= /P>

=A0 =A0 at = \currentfontscale\bodyfontsize

=A0 = \unicodestrut

=A0\unicodefont\unicodecharcommand{= \char\unicodetwo\relax}%

=A0 = \endgroup}


i'll change the handlers = in not applying a strut by default

=

This seems to do the trick. The bold glyphs = look fine. There is however one oddity =A0in italics=A0with the = circumflex and caron on capitals and the macron in general. They are so = vague that they are hardly visible.

Sjoerd=A0=A0
= --Apple-Mail-24-445621698-- --===============0577545542== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0577545542==--