sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
* libXg patch
@ 2001-12-11 21:50 Scott Schwartz
  0 siblings, 0 replies; only message in thread
From: Scott Schwartz @ 2001-12-11 21:50 UTC (permalink / raw)
  To: 9fans, sam-fans

For those using libXg, if you want it to work with X11 unicode fonts
(and there are a few these days) with more than 32K characters, don't
forget to change libg.h to suit:

; diff libg.h.old libg.h
97,102c97,102
<       short           minrow; /* first character row in font (for X subfonts) */
<       short           mincol; /* first character col in font (for X subfonts) */
<       short           minchar; /* first char code in subfont */
<       short           maxchar; /* last char code in subfont */
<       short           width;  /* number of chars in row */
<       short           n;      /* number of chars in font */
---
>       int             minrow; /* first character row in font (for X subfonts) */
>       int             mincol; /* first character col in font (for X subfonts) */
>       int             minchar; /* first char code in subfont */
>       int             maxchar; /* last char code in subfont */
>       int             width;  /* number of chars in row */
>       int             n;      /* number of chars in font */



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-12  7:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-11 21:50 libXg patch Scott Schwartz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).