src/inc/memgfx.h 1.27
1.27 2010/03/27 04:22:18 kent
Adding a bunch of xfree fonts.
Index: src/inc/memgfx.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/memgfx.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -b -B -U 4 -r1.26 -r1.27
--- src/inc/memgfx.h 19 Aug 2009 22:28:36 -0000 1.26
+++ src/inc/memgfx.h 27 Mar 2010 04:22:18 -0000 1.27
@@ -191,8 +191,10 @@
typedef struct font_hdr MgFont;
/* Type of our font. */
+/* Collection of fonts from here and there. The mgTinyFont() and mgSmallFont() are uniq
+ * here. The rest are synonyms at this point for the adobe fonts below. */
MgFont *mgTinyFont();
MgFont *mgSmallFont();
MgFont *mgMediumFont();
MgFont *mgLargeFont();
@@ -207,8 +209,37 @@
MgFont *mgMediumFixedFont();
MgFont *mgLargeFixedFont();
MgFont *mgHugeFixedFont();
+/* Adobe fonts from xfree project. */
+MgFont *mgCourier8Font();
+MgFont *mgCourier10Font();
+MgFont *mgCourier12Font();
+MgFont *mgCourier14Font();
+MgFont *mgCourier18Font();
+MgFont *mgCourier24Font();
+MgFont *mgCourier34Font();
+MgFont *mgHelvetica8Font();
+MgFont *mgHelvetica10Font();
+MgFont *mgHelvetica12Font();
+MgFont *mgHelvetica14Font();
+MgFont *mgHelvetica18Font();
+MgFont *mgHelvetica24Font();
+MgFont *mgHelvetica34Font();
+MgFont *mgHelveticaBold8Font();
+MgFont *mgHelveticaBold10Font();
+MgFont *mgHelveticaBold12Font();
+MgFont *mgHelveticaBold14Font();
+MgFont *mgHelveticaBold18Font();
+MgFont *mgHelveticaBold24Font();
+MgFont *mgHelveticaBold34Font();
+MgFont *mgTimes8Font();
+MgFont *mgTimes10Font();
+MgFont *mgTimes12Font();
+MgFont *mgTimes14Font();
+MgFont *mgTimes18Font();
+MgFont *mgTimes24Font();
+
void mgText(struct memGfx *mg, int x, int y, Color color,
MgFont *font, char *text);
/* Draw a line of text with upper left corner x,y. */