use escapes instead of 8-bit in the Text constant: the 8-bit version got mangled by maccvs...

VER-2-0-4-PATCH
Just van Rossum 25 years ago
parent 5a34a7bac2
commit f8bc2d3ca6
  1. 5
      demos/src/ftview.c

@ -42,8 +42,9 @@
const unsigned char* Text = (unsigned char*)
"The quick brown fox jumped over the lazy dog 0123456789 \
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &#~\"'(-`_^@)=+<EFBFBD> ABCDEFGHIJKLMNOPQRSTUVWXYZ $<EFBFBD>^<EFBFBD>*<EFBFBD><EFBFBD>%!<EFBFBD>:/;.,?<>";
\342\352\356\373\364\344\353\357\366\374\377\340\371\351\350\347 \
&#~\"\'(-`_^@)=+\260 ABCDEFGHIJKLMNOPQRSTUVWXYZ \
$\243^\250*\265\371%!\247:/;.,?<>";
FT_Library library; /* the FreeType library */
FT_Face face; /* the font face */
FT_Size size; /* the font size */

Loading…
Cancel
Save