[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users 01144] Re: changing the size of a tab



> * In message <>
> * On the subject of "[mgp-users 01141] Re: changing the size of a tab"
> * Sent on Sun, 25 May 2003 21:34:56 -0700 (PDT)
> * Honorable Yoshifumi Nishida <nishida@csl.sony.co.jp> writes:
>
>  > > Please use %tab directive.
>  > 
>  > %tab must be placed in the preamble and affects the whole presentation.
>  > I need to change the properties of the text in this particular tab on
>  > this particular page, not other text on other pages.
> 
> Well, it seems to me that there is no straightforward way to do this.

weird.  this appears to such a useful feature...

I can change font size for the ordinary text, right?

> But I would like to recommend you to use the current snapshot which will be 
> 1.10a soon.

I had to do

# cd /usr/include; ln -s freetype2/freetype freetype

to get through most of the compilation.

I also needed

=======================================================================
Index: mgp.h
===================================================================
RCS file: /cvsmgp/kit/mgp.h,v
retrieving revision 1.133
diff -u -w -b -r1.133 mgp.h
--- mgp.h       2003/04/16 08:02:55     1.133
+++ mgp.h       2003/05/26 14:24:07
@@ -90,7 +90,7 @@
 #endif /* end of VFLIB */
 
 #ifdef FREETYPE
-#include "freetype.h"
+#include "freetype/freetype.h"
 
 #ifndef FREETYPEFONTDIR
 #define FREETYPEFONTDIR        "/usr/local/share/fonts/ttf"
=======================================================================

I still get:


gcc -m32 -c -O2  -pipe -march=i386 -mcpu=i686 -fno-strength-reduce -fno-strict-aliasing -pipe      -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE     -DFUNCPROTO=15 -DNARROWPROTO      -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_VARARGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_LIBTTF=1 -DFREETYPE=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DVFLIB=1 -DVFCAP=\"/etc/vfontcap\" -DMNG=1  -DMGPLIBDIR=\"/usr/X11R6/lib/X11/mgp\" -I/usr/include -I/usr/X11R6/include -I/usr/include/freetype2   -I/usr/include/freetype  -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/bin/gunzip\" -I/usr/include tfont.c
tfont.c:41: parse error before "bitmap"
tfont.c:41: warning: data definition has no type or storage class
tfont.c:42: parse error before "properties"
tfont.c:42: warning: data definition has no type or storage class
tfont.c:43: parse error before "face"
tfont.c:43: warning: data definition has no type or storage class
tfont.c:44: parse error before "glyph"
tfont.c:44: warning: data definition has no type or storage class
tfont.c:45: parse error before "instance"
tfont.c:45: warning: data definition has no type or storage class
tfont.c:46: parse error before "metrics"
tfont.c:46: warning: data definition has no type or storage class
tfont.c:47: parse error before "error"
tfont.c:47: warning: data definition has no type or storage class
tfont.c:48: parse error before "engine"
tfont.c:48: warning: data definition has no type or storage class
tfont.c:92: parse error before "LoadTrueTypeChar"
tfont.c:92: warning: data definition has no type or storage class
tfont.c: In function `tfc_setfont':
tfont.c:216: `TT_Face' undeclared (first use in this function)
tfont.c:216: (Each undeclared identifier is reported only once
tfont.c:216: for each function it appears in.)
tfont.c:216: parse error before "tface"
tfont.c:313: `tface' undeclared (first use in this function)
tfont.c: In function `tfc_alloc':
tfont.c:505: request for member `rows' in something not a structure or union
tfont.c:505: request for member `bbox' in something not a structure or union
tfont.c:505: request for member `bbox' in something not a structure or union
tfont.c:506: request for member `rows' in something not a structure or union
tfont.c:507: request for member `width' in something not a structure or union
tfont.c:507: request for member `bbox' in something not a structure or union
tfont.c:507: request for member `bbox' in something not a structure or union
tfont.c:508: request for member `width' in something not a structure or union
tfont.c:509: request for member `width' in something not a structure or union
tfont.c:510: request for member `cols' in something not a structure or union
tfont.c:510: request for member `width' in something not a structure or union
tfont.c:511: request for member `flow' in something not a structure or union
tfont.c:511: `TT_Flow_Down' undeclared (first use in this function)
tfont.c:512: request for member `size' in something not a structure or union
tfont.c:512: request for member `cols' in something not a structure or union
tfont.c:512: request for member `rows' in something not a structure or union
tfont.c:513: request for member `bitmap' in something not a structure or union
tfont.c:513: request for member `size' in something not a structure or union
tfont.c:514: request for member `size' in something not a structure or union
tfont.c:514: request for member `size' in something not a structure or union
tfont.c:514: request for member `size' in something not a structure or union
tfont.c:514: request for member `bitmap' in something not a structure or union
tfont.c:514: request for member `bitmap' in something not a structure or union
tfont.c:514: request for member `size' in something not a structure or union
tfont.c:514: request for member `bitmap' in something not a structure or union
tfont.c:514: request for member `size' in something not a structure or union
tfont.c:514: request for member `bitmap' in something not a structure or union
tfont.c:514: request for member `size' in something not a structure or union
tfont.c:518: request for member `bearingX' in something not a structure or union
tfont.c:519: request for member `bbox' in something not a structure or union
tfont.c:519: request for member `bbox' in something not a structure or union
tfont.c:519: request for member `bearingY' in something not a structure or union
tfont.c:523: request for member `width' in something not a structure or union
tfont.c:524: request for member `cols' in something not a structure or union
tfont.c:525: request for member `rows' in something not a structure or union
tfont.c:531: request for member `bbox' in something not a structure or union
tfont.c:531: request for member `bbox' in something not a structure or union
tfont.c:531: request for member `bearingY' in something not a structure or union
tfont.c:532: request for member `rows' in something not a structure or union
tfont.c:533: request for member `bearingX' in something not a structure or union
tfont.c:535: request for member `advance' in something not a structure or union
tfont.c:536: request for member `bbox' in something not a structure or union
tfont.c:538: request for member `bitmap' in something not a structure or union
tfont.c: In function `CharToUnicode':
tfont.c:554: `TT_CharMap' undeclared (first use in this function)
tfont.c:554: parse error before "char_map"
tfont.c:578: `char_map' undeclared (first use in this function)
tfont.c: At top level:
tfont.c:641: parse error before "LoadTrueTypeChar"
tfont.c: In function `LoadTrueTypeChar':
tfont.c:645: `TTLOAD_SCALE_GLYPH' undeclared (first use in this function)
tfont.c:647: `TTLOAD_HINT_GLYPH' undeclared (first use in this function)
make: *** [tfont.o] Error 1


> With 1.10a, I think you can get what you want by the following example.
> 
> foo 
> %size 1
>       bar
> %size 1
>       baz

cool!

-- 
Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
The difference between genius and stupidity is that genius has its limits.