From ccfabbd7c091a2db379fd67af049e48fd897da16 Mon Sep 17 00:00:00 2001 From: Mark Calderbank Date: Sun, 8 Jan 2006 11:16:50 +0000 Subject: [PATCH] Fix "wrapped" font (top two lines of glyph rendered at the bottom) --- bogl.h | 1 + fonts/helvB18.cc | Bin 240846 -> 257328 bytes fonts/helvB24.cc | Bin 298697 -> 298703 bytes surface.cc | 2 +- surface.h | 1 + 5 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bogl.h b/bogl.h index be7a623..9dc98a3 100644 --- a/bogl.h +++ b/bogl.h @@ -9,6 +9,7 @@ typedef struct bogl_font { char *name; /* Font name. */ int height; /* Height in pixels. */ + int spacing; /* Vertical spacing in pixels. */ unsigned long *content; /* 32-bit right-padded bitmap array. */ short *offset; /* 256 offsets into content. */ unsigned char *width; /* 256 character widths. */ diff --git a/fonts/helvB18.cc b/fonts/helvB18.cc index 5da9b7f5cb70b0de232ff7d9c9a80a712631cf79..f9b668442cebaf4cade692d45a69a05e8f2869a5 100644 GIT binary patch delta 10779 zcmbta33yahmj3R2A%sd*Qeq?tOHyP90(rHiDuGBqWJ?I8A`OU8f{0*%Vg~_Jj<~dn z6uHX5MkLy{vWNs;Pi`yH1lLAD(>>bl(zfNkfmW-nj_aIrUsWYRn3->e@2kqIs&~&l z_nh;e<$t{RT1M;ZnXQ>z)Rxs7nfz-mT1Mp;wudLtVl92Hh*dYk1yxP}#prbFXJb>?mn8(uH;KFjb` zYOJ@f;v#lyu1G&WTl~~J$0#`eZYBcN4WKXNg)np>FQK<0a9qF|Al#t!fZ$-hP}D9= z6ZSrN^w+TW`3)2HnjB+K_7++@Nd)>8LinG2qR=l*G4|!&$JNgh`X6O#^Y&9c;r&T` z0JP6z7Q>(Syi(!dz&2cMs~3^IJw#YIpyLE96T$m>z@k^!K#2BaJ&a+6>y<^|#lNr& zI9$il;l$sV)p)6RJ|lyOh_$5KYoum@&+}M+8FKR893nTcX>cUUbYs=vMztG6FXLq* zbYrnmQGV34c5E1)2Zce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E5g zQ^kC(V4GyWDP&G4*d{q(3Yl*dY?B-?h0I9>+aw1}A#+NRJk2IKU@Do@YPd~uz*I7E z2~W344!U&=eyd=cU2&3`M{COKrvnjaNxB@b`Nlr=vg+`nqNO?lYVH9xE2HsxVc*ZiVjoAR(P1ns|J t7o*xXmCSEyfX#B)R5E82Y?179p^_Q(4L0${e8?7DLfyUKr*ByBe*n5F<}CmK diff --git a/fonts/helvB24.cc b/fonts/helvB24.cc index 8ed2c3b25df3ee83c4522a16483b36bf3f5c72a3..047b58594fcc3d880ee582ce0febcf54c1d1d2bd 100644 GIT binary patch delta 22 ecmX>(SLpm)p@tU57N!>FEi6;}ruX-;SOEZRlnB-U delta 22 ecmX>FEi6;}rqAwUF#!N<&height; + return font->spacing; } void Surface::screenShot(char* fileName) diff --git a/surface.h b/surface.h index 5eaef78..c44656d 100644 --- a/surface.h +++ b/surface.h @@ -110,6 +110,7 @@ typedef struct { typedef struct bogl_font { char *name; /* Font name. */ int height; /* Height in pixels. */ + int spacing; /* Vertical spacing in pixels. */ unsigned long *content; /* 32-bit right-padded bitmap array. */ short *offset; /* 256 offsets into content. */ unsigned char *width; /* 256 character widths. */ -- 2.39.5