[xorg-commit-diffs] xc/programs/fonttosfnt Imakefile, 1.1.4.3.4.2, 1.1.4.3.4.2.6.1 fonttosfnt.man, 1.1.10.1, 1.1.10.1.6.1 read.c, 1.1.4.1.4.2, 1.1.4.1.4.2.6.1 write.c, 1.1.10.1, 1.1.10.1.6.1

Roland Mainz xorg-commit at pdx.freedesktop.org
Sat Apr 10 02:05:51 PDT 2004


Committed by: gisburn

Update of /cvs/xorg/xc/programs/fonttosfnt
In directory pdx:/tmp/cvs-serv7662/xc/programs/fonttosfnt

Modified Files:
      Tag: XPRINT
	Imakefile fonttosfnt.man read.c write.c 
Log Message:
Resync to 2004-04-10 XORG-RELEASE-1 branch

Index: Imakefile
===================================================================
RCS file: /cvs/xorg/xc/programs/fonttosfnt/Imakefile,v
retrieving revision 1.1.4.3.4.2
retrieving revision 1.1.4.3.4.2.6.1
diff -u -d -r1.1.4.3.4.2 -r1.1.4.3.4.2.6.1
--- a/Imakefile	5 Mar 2004 12:46:31 -0000	1.1.4.3.4.2
+++ b/Imakefile	10 Apr 2004 09:05:46 -0000	1.1.4.3.4.2.6.1
@@ -18,7 +18,7 @@
 
 FONTENC_INCS = -I$(BUILDINCDIR)/X11/fonts
 
-DEFINES  = $(SETENV_DEFINES) $(SNPRINTF_DEFINES) -DXFREE86_FT2
+DEFINES  = $(SETENV_DEFINES) $(SNPRINTF_DEFINES) -DXFREE86_FT2 $(VENDORSUPPORDEFS)
 INCLUDES = $(FONTENC_INCS) $(FREETYPE2INCLUDES) $(SNPRINTF_INCLUDES) -I$(XBUILDINCDIR)
 LOCAL_LIBRARIES = $(FREETYPE2LIB) $(XFONTENCLIB) GzipLibrary MathLibrary
 

Index: fonttosfnt.man
===================================================================
RCS file: /cvs/xorg/xc/programs/fonttosfnt/fonttosfnt.man,v
retrieving revision 1.1.10.1
retrieving revision 1.1.10.1.6.1
diff -u -d -r1.1.10.1 -r1.1.10.1.6.1
--- a/fonttosfnt.man	4 Mar 2004 17:48:48 -0000	1.1.10.1
+++ b/fonttosfnt.man	10 Apr 2004 09:05:46 -0000	1.1.10.1.6.1
@@ -69,8 +69,10 @@
 are dummy values.
 .SH SEE ALSO
 X(7), Xserver(1), Xft(3x).
-.I Fonts in XFree86.
+.I Fonts in X.
 .SH AUTHOR
+The version of
 .B Fonttosfnt
-was written by Juliusz Chroboczek <jch at xfree86.org> for the XFree86
-project.
+included in this X.Org Foundation release
+was originally written by Juliusz Chroboczek <jch at xfree86.org>
+for the XFree86 project.

Index: read.c
===================================================================
RCS file: /cvs/xorg/xc/programs/fonttosfnt/read.c,v
retrieving revision 1.1.4.1.4.2
retrieving revision 1.1.4.1.4.2.6.1
diff -u -d -r1.1.4.1.4.2 -r1.1.4.1.4.2.6.1
--- a/read.c	4 Mar 2004 19:45:27 -0000	1.1.4.1.4.2
+++ b/read.c	10 Apr 2004 09:05:46 -0000	1.1.4.1.4.2.6.1
@@ -1,3 +1,4 @@
+/* $XdotOrg$ */
 /*
 Copyright (c) 2002 by Juliusz Chroboczek
 
@@ -19,9 +20,7 @@
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 */
-/* $XdotOrg$ */
 /* $XFree86: xc/programs/fonttosfnt/read.c,v 1.5 2003/12/19 02:05:39 dawes Exp $ */
-
 #include <stdio.h>
 
 #include <ft2build.h>
@@ -117,14 +116,17 @@
            unique; it only needs to be unique among all installed fonts on a
            Windows system.  We don't bother getting it quite right. */
         if(face->num_fixed_sizes <= 0)
-            unique_name = sprintf_reliable("%s XFree86 bitmap", full_name);
+            unique_name = sprintf_reliable("%s "XVENDORNAMESHORT" bitmap"
+					   , full_name);
         else if(face->available_sizes[0].width == 
                 face->available_sizes[0].height)
-            unique_name = sprintf_reliable("%s XFree86 bitmap size %d",
+            unique_name = sprintf_reliable("%s "XVENDORNAMESHORT
+					   " bitmap size %d",
                                            full_name, 
                                            face->available_sizes[0].height);
         else
-            unique_name = sprintf_reliable("%s XFree86 bitmap size %dx%d",
+            unique_name = sprintf_reliable("%s "XVENDORNAMESHORT
+					   " bitmap size %dx%d",
                                            full_name, 
                                            face->available_sizes[0].width,
                                            face->available_sizes[0].height);
@@ -178,15 +180,17 @@
         }
 
         font->names[i].nid = 10;
-        font->names[i].size = 2 * strlen("XFree86 converted bitmap font");
-        font->names[i].value = makeUTF16("XFree86 converted bitmap font");
+        font->names[i].size = 2 * strlen(XVENDORNAMESHORT
+					 " converted bitmap font");
+        font->names[i].value = makeUTF16(XVENDORNAMESHORT
+					 "X converted bitmap font");
         i++;
-
+#ifdef __VENDORWEBSUPPORT__
         font->names[i].nid = 11;
-        font->names[i].size = 2 * strlen("http://www.xfree86.org");
-        font->names[i].value = makeUTF16("http://www.xfree86.org");
+        font->names[i].size = 2 * strlen(__VENDORWEBSUPPORT__);
+        font->names[i].value = makeUTF16(__VENDORWEBSUPPORT__);
         i++;
-
+#endif
         font->numNames = i;
 
         font->flags = faceFlags(face) | (symbol ? FACE_SYMBOL : 0);

Index: write.c
===================================================================
RCS file: /cvs/xorg/xc/programs/fonttosfnt/write.c,v
retrieving revision 1.1.10.1
retrieving revision 1.1.10.1.6.1
diff -u -d -r1.1.10.1 -r1.1.10.1.6.1
--- a/write.c	4 Mar 2004 17:48:48 -0000	1.1.10.1
+++ b/write.c	10 Apr 2004 09:05:46 -0000	1.1.10.1.6.1
@@ -1030,7 +1030,7 @@
 static int 
 writePCLT(FILE* out, FontPtr font)
 {
-    char name[16] = "XFree86 font    ";
+    char name[16] = XVENDORNAME" font    ";
     char filename[6] = "X11R00";
     unsigned char charComplement[8] = 
         {0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0xFF, 0xFF, 0xFE};




More information about the xorg-commit-diffs mailing list