summaryrefslogtreecommitdiff
path: root/tex/context/base/font-uni.mkiv
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-04-08 15:15:05 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-04-08 15:15:05 +0200
commit32948ef106b3d0bbe9c0d7622c292a42080f7dbe (patch)
tree30df675c0fdcb654b636359aabfb9bb9f1b0a9cc /tex/context/base/font-uni.mkiv
parentf1cde6067499874bf126dfc6f5bedb598f117073 (diff)
downloadcontext-32948ef106b3d0bbe9c0d7622c292a42080f7dbe.tar.gz
2015-04-08 14:22:00
Diffstat (limited to 'tex/context/base/font-uni.mkiv')
-rw-r--r--tex/context/base/font-uni.mkiv10
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/font-uni.mkiv b/tex/context/base/font-uni.mkiv
index 223d27606..91a488ff2 100644
--- a/tex/context/base/font-uni.mkiv
+++ b/tex/context/base/font-uni.mkiv
@@ -13,14 +13,14 @@
\writestatus{loading}{ConTeXt Font Macros / Unicode}
-%D In \MKIV\ we only provide the \type {\uchar} macro and
-%D implement it as just an \UTF\ converter. We expand it so
-%D best not use not use it for active characters.
+%D In \MKIV\ we only provide the \type {\uchar} macro and implement it as just
+%D an \UTF\ converter. We expand it so best not use not use it for active
+%D characters. In practice this command is probably never used anyway but we keep
+%D if for old styles.
\unprotect
-%def\uchar#1#2{\ctxcommand{uchar(,)}}
-\def\uchar#1#2{\cldcontext{utf.char(\number\numexpr#1*256+#2\relax)}}
+\def\uchar#1#2{\clf_uchar\numexpr#1\relax\numexpr#2\relax}
\let\uc\uchar