Skip to content
Snippets Groups Projects
Verified Commit 29b89b88 authored by mirabilos's avatar mirabilos Committed by mirabilos
Browse files

for the sake of completeness, handle one-nybble Unicode chars

(they’ll never be boxed, but \unicodedomino@codepoint does)
parent 8bf28294
No related branches found
No related tags found
No related merge requests found
...@@ -68,9 +68,11 @@ ...@@ -68,9 +68,11 @@
U+% U+%
\else\ifnum#1>255% \else\ifnum#1>255%
U+0% U+0%
\else% \else\ifnum#1>15%
U+00% U+00%
\fi\fi\fi\fi% \else%
U+000%
\fi\fi\fi\fi\fi%
\expandafter\UTFviii@hexnumber\expandafter{#1}% \expandafter\UTFviii@hexnumber\expandafter{#1}%
}% }%
...@@ -130,6 +132,7 @@ ...@@ -130,6 +132,7 @@
\ifnum#1<65536 0.\fi% \ifnum#1<65536 0.\fi%
\ifnum#1<4096 0.\fi% \ifnum#1<4096 0.\fi%
\ifnum#1<256 0.\fi% \ifnum#1<256 0.\fi%
\ifnum#1<16 0.\fi%
\expandafter\unicodedomino@hex@ne\expandafter{#1}% \expandafter\unicodedomino@hex@ne\expandafter{#1}%
}% }%
% call the appropriate box function % call the appropriate box function
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment