Aric Stewart : wineps.drv: Remove unnecessary changes included with vertical font work.

Alexandre Julliard julliard at winehq.org
Mon Aug 26 13:21:57 CDT 2013


Module: wine
Branch: master
Commit: 72b78e7a0a78eb066c593d044fb3257c1258cee7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=72b78e7a0a78eb066c593d044fb3257c1258cee7

Author: Aric Stewart <aric at codeweavers.com>
Date:   Mon Aug 26 09:52:21 2013 -0500

wineps.drv: Remove unnecessary changes included with vertical font work.

---

 dlls/wineps.drv/builtin.c  |    2 +-
 dlls/wineps.drv/download.c |    2 +-
 dlls/wineps.drv/ps.c       |    2 +-
 dlls/wineps.drv/psdrv.h    |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/wineps.drv/builtin.c b/dlls/wineps.drv/builtin.c
index 23219b9..e2106d3 100644
--- a/dlls/wineps.drv/builtin.c
+++ b/dlls/wineps.drv/builtin.c
@@ -238,7 +238,7 @@ BOOL PSDRV_WriteSetBuiltinFont(PHYSDEV dev)
     PSDRV_PDEVICE *physDev = get_psdrv_dev( dev );
 
     return PSDRV_WriteSetFont(dev, physDev->font.fontinfo.Builtin.afm->FontName,
-                              physDev->font.size, physDev->font.escapement, FALSE, FALSE);
+                              physDev->font.size, physDev->font.escapement, FALSE);
 }
 
 BOOL PSDRV_WriteBuiltinGlyphShow(PHYSDEV dev, LPCWSTR str, INT count)
diff --git a/dlls/wineps.drv/download.c b/dlls/wineps.drv/download.c
index 6290872..f476843 100644
--- a/dlls/wineps.drv/download.c
+++ b/dlls/wineps.drv/download.c
@@ -353,7 +353,7 @@ BOOL PSDRV_WriteSetDownloadFont(PHYSDEV dev, BOOL vertical)
         escapement += 900;
 
     PSDRV_WriteSetFont(dev, ps_name, physDev->font.size, escapement,
-                        is_fake_italic( dev->hdc ), (lf.lfFaceName[0] == '@'));
+                        is_fake_italic( dev->hdc ));
 
     HeapFree(GetProcessHeap(), 0, ps_name);
     HeapFree(GetProcessHeap(), 0, potm);
diff --git a/dlls/wineps.drv/ps.c b/dlls/wineps.drv/ps.c
index ea6c530..6187223 100644
--- a/dlls/wineps.drv/ps.c
+++ b/dlls/wineps.drv/ps.c
@@ -571,7 +571,7 @@ BOOL PSDRV_WriteCurveTo(PHYSDEV dev, POINT pts[3])
     return PSDRV_WriteSpool(dev, buf, strlen(buf));
 }
 
-BOOL PSDRV_WriteSetFont(PHYSDEV dev, const char *name, matrix size, INT escapement, BOOL fake_italic, BOOL vertical)
+BOOL PSDRV_WriteSetFont(PHYSDEV dev, const char *name, matrix size, INT escapement, BOOL fake_italic)
 {
     char *buf;
 
diff --git a/dlls/wineps.drv/psdrv.h b/dlls/wineps.drv/psdrv.h
index f410e2a..229d04c 100644
--- a/dlls/wineps.drv/psdrv.h
+++ b/dlls/wineps.drv/psdrv.h
@@ -500,7 +500,7 @@ extern BOOL PSDRV_WriteStroke(PHYSDEV dev) DECLSPEC_HIDDEN;
 extern BOOL PSDRV_WriteRectangle(PHYSDEV dev, INT x, INT y, INT width, INT height) DECLSPEC_HIDDEN;
 extern BOOL PSDRV_WriteRRectangle(PHYSDEV dev, INT x, INT y, INT width, INT height) DECLSPEC_HIDDEN;
 extern BOOL PSDRV_WriteSetFont(PHYSDEV dev, const char *name, matrix size, INT escapement,
-                               BOOL fake_italic, BOOL vertical) DECLSPEC_HIDDEN;
+                               BOOL fake_italic) DECLSPEC_HIDDEN;
 extern BOOL PSDRV_WriteGlyphShow(PHYSDEV dev, LPCSTR g_name) DECLSPEC_HIDDEN;
 extern BOOL PSDRV_WriteSetPen(PHYSDEV dev) DECLSPEC_HIDDEN;
 extern BOOL PSDRV_WriteArc(PHYSDEV dev, INT x, INT y, INT w, INT h,




More information about the wine-cvs mailing list