A Motif tool for editing X11 bitmap fonts

This commit is contained in:
John Fieber 1997-07-16 02:18:28 +00:00
parent 31e5275c1b
commit d2e1018ff1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7350
7 changed files with 137 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# New ports collection makefile for: xmbdfed
# Version required: 2.2
# Date created: June 20, 1997
# Whom: jfieber
#
# $Id$
#
DISTNAME= xmbdfed-2.2
CATEGORIES= x11
MASTER_SITES= ftp://crl.nmsu.edu/CLR/multiling/General/
MAINTAINER= jfieber@FreeBSD.ORG
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= xmbdfed-2.2.patch1
USE_X11= yes
REQUIRES_MOTIF= yes
MAN1= xmbdfed.1
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
MD5 (xmbdfed-2.2.tar.gz) = 8abc66cda4348490792f8db112997caa
MD5 (xmbdfed-2.2.patch1) = c31b6e7a9f4368f15df432a26b534ee7

View file

@ -0,0 +1,70 @@
*** Makefile.orig Wed May 14 16:23:19 1997
--- Makefile Fri Jun 20 22:46:47 1997
***************
*** 22,29 ****
#
# $Id: Makefile,v 1.9 1997/05/14 21:23:14 mleisher Exp $
#
! CC = gcc
! CFLAGS = -g -Wall
OTHER = README COPYRIGHTS Makefile Imakefile.lesstif xmbdfedrc xmbdfed.man
--- 22,29 ----
#
# $Id: Makefile,v 1.9 1997/05/14 21:23:14 mleisher Exp $
#
! #CC = gcc
! #CFLAGS = -g -Wall
OTHER = README COPYRIGHTS Makefile Imakefile.lesstif xmbdfedrc xmbdfed.man
***************
*** 45,57 ****
# files with a ".gz" extension. If you don't care about HBF fonts, just
# comment this line out.
#
! HBFDEFS = -Dunix -DIN_MEMORY -DGUNZIP_CMD="\"/usr/local/bin/gunzip -c\""
#
# Uncomment these for SunOS.
#
! INCS = -I/usr/local/include/X11R5
! LIBS = -L/usr/local/lib/X11R5 -lXm -lXmu -lXt -lX11
#
# Uncomment these for Solaris.
--- 45,57 ----
# files with a ".gz" extension. If you don't care about HBF fonts, just
# comment this line out.
#
! HBFDEFS = -Dunix -DIN_MEMORY -DGUNZIP_CMD="\"/usr/bin/gunzip -c\""
#
# Uncomment these for SunOS.
#
! #INCS = -I/usr/local/include/X11R5
! #LIBS = -L/usr/local/lib/X11R5 -lXm -lXmu -lXt -lX11
#
# Uncomment these for Solaris.
***************
*** 65,72 ****
--- 65,81 ----
#INCS = -I/usr/X11/include -I/usr/Motif-2.0.1/include
#LIBS = -L/usr/Motif-2.0.1/lib -lXm -L/usr/X11/lib -lXpm -lXmu -lXt -lX11 -lSM -lICE
+ INCS = -I${X11BASE}/include
+ LIBS = -L${X11BASE}/lib ${MOTIFLIB} -lXpm -lXmu -lXt -lX11 -lSM -lICE -lXext
+
all: xmbdfed
+
+ install: xmbdfed
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ xmbdfed ${X11BASE}/bin/xmbdfed
+ ${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
+ xmbdfed.man ${X11BASE}/man/man1/xmbdfed.1
xmbdfed: $(OBJS)
$(PURIFY) $(CC) $(STATIC) $(CFLAGS) -o xmbdfed $(OBJS) $(LIBS)

View file

@ -0,0 +1,19 @@
*** xmbdfed.c.orig Mon Jun 2 14:08:10 1997
--- xmbdfed.c Fri Jun 20 15:30:46 1997
***************
*** 91,97 ****
#define HGINFO "\"%s\" %04lX (%02X,%02X)\nascent %d descent %d right %d left %d"
static String fallback_resources[] = {
! "*fontList: -adobe-new century schoolbook-medium-r-normal--14-100-100-100-p-82-iso8859-1",
(String) NULL,
};
--- 91,97 ----
#define HGINFO "\"%s\" %04lX (%02X,%02X)\nascent %d descent %d right %d left %d"
static String fallback_resources[] = {
! /* "*fontList: -adobe-new century schoolbook-medium-r-normal--14-100-100-100-p-82-iso8859-1", */
(String) NULL,
};

View file

@ -0,0 +1 @@
A Motif tool for editing X11 bitmap fonts

View file

@ -0,0 +1,20 @@
XmBDFEditor is a Motif-based BDF font editor with the following features:
o Multiple fonts can be loaded from the command line.
o Multiple fonts can be open at the same time.
o Cutting and pasting glyphs between fonts.
o Multiple glyph bitmap editors can be open at the same time.
o Cutting and pasting between glyph bitmap editors.
o Automatic correction of certain metrics when a font is loaded.
o Generation of XLFD font names for fonts without XLFD names.
o Update an XLFD font name from the font properties.
o Update the font properties from an XLFD font name.
o Font property editor.
o Font comment editor.
o Supports unencoded glyphs (ENCODING of -1).
o Display of glyph encodings in octal, decimal, or hex.
o Builtin on-line help.
o Imports HBF (Han Bitmap Font) fonts.
o Imports Linux console fonts (PSF, CP, and FNT).
o Imports Sun console fonts (vfont format).
o Imports fonts from the X server.

View file

@ -0,0 +1,2 @@
bin/xmbdfed
man/man1/xmbdfed.1.gz