# [texworks] texworks Digest, Vol 85, Issue 9 - rectangles

Herbert Schulz herbs at wideopenwest.com
Sat Sep 26 21:04:16 CEST 2015

> On Sep 26, 2015, at 12:14 PM, David J. Perry <hospes.primus at verizon.net> wrote:
>
> Alain,
>
> Here is a minimal example.  The issue is not whether this compiles, but the difference between what you see in the editor and what is in the PDF output.  See the screen shot attached.  Of course you have to use a font in TeXworks that contains Plane 1 characters in order to see them; I use Code2001, which is freely available, in both the editing window and output.
>
> % !TEX TS-program = xelatex
> % !TEX encoding = UTF-8
>
> \documentclass[12pt]{article}
>
> \usepackage{fontspec}
> \usepackage{xunicode}
> \usepackage{xltxtra}
>
> \setmainfont{Code2001}
>
> \begin{document}
>
> This file displays characters from Plane 1 of Unicode, used for historic scripts. I am using Code2001 for both the editing screen and the PDF output.\\
>
> \noindent On the line below, we should see some Old Italic characters
>
> ����������������\\
>
> \noindent On the next line are some Gothic letters:
>
> ����������������������\\
>
> \noindent And finally some Cuneiform text:
>
> ��������������������
> \end{document}
>
> 8:52 AM, Alain Delmotte wrote:
>> Could you provide an complete minimal example reproducing the problem? So I could test.
>> Thanks,
>>
>> Alain
> <Plane 1 test.png>

Howdy,

I'm seeing the characters in the Editor just fine using Monaco or Menlo as the font on my Mac. I'm guessing the font you're using in your Editor just doesn't have those characters.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)