From ed45f21348fbce9591740a9a99f153e7ffa07690 Mon Sep 17 00:00:00 2001 From: "William F. Jolitz" Date: Tue, 30 Apr 1991 14:51:36 -0800 Subject: [PATCH] 386BSD 0.0 development Work on file usr/src/usr.bin/groff/devices/devlatin1/Makefile.gnu Work on file usr/src/usr.bin/groff/devices/devlatin1/DESC.proto Work on file usr/src/usr.bin/groff/devices/devlatin1/R.proto Co-Authored-By: Lynne Greer Jolitz Synthesized-from: 386BSD-0.0/src --- .../groff/devices/devlatin1/DESC.proto | 7 + .../groff/devices/devlatin1/Makefile.gnu | 69 ++++ .../usr.bin/groff/devices/devlatin1/R.proto | 319 ++++++++++++++++++ 3 files changed, 395 insertions(+) create mode 100644 usr/src/usr.bin/groff/devices/devlatin1/DESC.proto create mode 100644 usr/src/usr.bin/groff/devices/devlatin1/Makefile.gnu create mode 100644 usr/src/usr.bin/groff/devices/devlatin1/R.proto diff --git a/usr/src/usr.bin/groff/devices/devlatin1/DESC.proto b/usr/src/usr.bin/groff/devices/devlatin1/DESC.proto new file mode 100644 index 0000000000..882ff5e47f --- /dev/null +++ b/usr/src/usr.bin/groff/devices/devlatin1/DESC.proto @@ -0,0 +1,7 @@ +res 240 +hor 24 +vert 40 +unitwidth 10 +sizes 10 0 +fonts 4 R I B BI +tcommand diff --git a/usr/src/usr.bin/groff/devices/devlatin1/Makefile.gnu b/usr/src/usr.bin/groff/devices/devlatin1/Makefile.gnu new file mode 100644 index 0000000000..1152843041 --- /dev/null +++ b/usr/src/usr.bin/groff/devices/devlatin1/Makefile.gnu @@ -0,0 +1,69 @@ +#Copyright (C) 1989, 1990 Free Software Foundation, Inc. +# Written by James Clark (jjc@jclark.uucp) +# +#This file is part of groff. +# +#groff is free software; you can redistribute it and/or modify it under +#the terms of the GNU General Public License as published by the Free +#Software Foundation; either version 1, or (at your option) any later +#version. +# +#groff is distributed in the hope that it will be useful, but WITHOUT ANY +#WARRANTY; without even the implied warranty of MERCHANTABILITY or +#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +#for more details. +# +#You should have received a copy of the GNU General Public License along +#with groff; see the file LICENSE. If not, write to the Free Software +#Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +FONTDIR=/usr/local/lib/groff/font +DEVICEDIR=$(FONTDIR)/devlatin1 +# resolution in units per inch +RES=240 +# characters per inch +CPI=10 +# lines per inch +LPI=6 +FONTS=R I B BI + +all: $(FONTS) DESC + +$(FONTS): R.proto + @echo Making $@ + @(charwidth=`expr $(RES) / $(CPI)` ; \ + sed -e "s/^name [A-Z]*$$/name $@/" \ + -e "s/^\\([^ ]*\\) [0-9]+ /\\1 $$charwidth /" \ + -e "s/^spacewidth [0-9]+$$/spacewidth $$charwidth/" \ + -e "s/^internalname .*$$/internalname $@/" \ + -e "/^internalname/s/BI/3/" \ + -e "/^internalname/s/B/2/" \ + -e "/^internalname/s/I/1/" \ + -e "/^internalname .*[^ 0-9]/d" \ + R.proto >$@) + +DESC: DESC.proto + @echo Making $@ + @sed -e "s/^res .*$$/res $(RES)/" \ + -e "s/^hor .*$$/hor `expr $(RES) / $(CPI)`/" \ + -e "s/^vert .*$$/vert `expr $(RES) / $(LPI)`/" \ + -e "s/^fonts .*$$/fonts `set $(FONTS); echo $$#` $(FONTS)/" \ + DESC.proto >$@ + +install.nobin: all + -[ -d $(FONTDIR) ] || mkdir $(FONTDIR) + -[ -d $(DEVICEDIR) ] || mkdir $(DEVICEDIR) + cp $(FONTS) DESC $(DEVICEDIR) + +install.bin: + +install: install.bin install.nobin + +clean: + -rm -f $(FONTS) DESC + +distclean: clean + +realclean: distclean + +TAGS: diff --git a/usr/src/usr.bin/groff/devices/devlatin1/R.proto b/usr/src/usr.bin/groff/devices/devlatin1/R.proto new file mode 100644 index 0000000000..60f1e43c43 --- /dev/null +++ b/usr/src/usr.bin/groff/devices/devlatin1/R.proto @@ -0,0 +1,319 @@ +name R +internalname 0 +spacewidth 24 +charset +! 24 0 0041 +" 24 0 0042 +# 24 0 0043 +sh " +$ 24 0 0044 +Do " +% 24 0 0045 +& 24 0 0046 +' 24 0 0047 +fm " +( 24 0 0050 +) 24 0 0051 +* 24 0 0052 +** " ++ 24 0 0053 +pl " +, 24 0 0054 +\- 24 0 0055 +mi " +em " +. 24 0 0056 +/ 24 0 0057 +sl " +0 24 0 0060 +1 24 0 0061 +2 24 0 0062 +3 24 0 0063 +4 24 0 0064 +5 24 0 0065 +6 24 0 0066 +7 24 0 0067 +8 24 0 0070 +9 24 0 0071 +: 24 0 0072 +; 24 0 0073 +< 24 0 0074 +la " += 24 0 0075 +eq " +> 24 0 0076 +ra " +? 24 0 0077 +@ 24 0 0100 +at " +A 24 0 0101 +B 24 0 0102 +C 24 0 0103 +D 24 0 0104 +E 24 0 0105 +F 24 0 0106 +G 24 0 0107 +H 24 0 0110 +I 24 0 0111 +J 24 0 0112 +K 24 0 0113 +L 24 0 0114 +M 24 0 0115 +N 24 0 0116 +O 24 0 0117 +ci " +P 24 0 0120 +Q 24 0 0121 +R 24 0 0122 +S 24 0 0123 +T 24 0 0124 +U 24 0 0125 +V 24 0 0126 +W 24 0 0127 +X 24 0 0130 +Y 24 0 0131 +Z 24 0 0132 +[ 24 0 0133 +lB " +\ 24 0 0134 +rs " +] 24 0 0135 +rB " +a^ 24 0 0136 +^ " +_ 24 0 0137 +ru " +ul " +` 24 0 0140 +oq " +ga " +a 24 0 0141 +b 24 0 0142 +c 24 0 0143 +d 24 0 0144 +e 24 0 0145 +f 24 0 0146 +g 24 0 0147 +h 24 0 0150 +i 24 0 0151 +j 24 0 0152 +k 24 0 0153 +l 24 0 0154 +m 24 0 0155 +n 24 0 0156 +o 24 0 0157 +bu " +p 24 0 0160 +q 24 0 0161 +r 24 0 0162 +s 24 0 0163 +t 24 0 0164 +u 24 0 0165 +v 24 0 0166 +w 24 0 0167 +x 24 0 0170 +y 24 0 0171 +z 24 0 0172 +lC 24 0 0173 +{ " +ba 24 0 0174 +or " +bv " +br " +| " +rC 24 0 0175 +} " +a~ 24 0 0176 +~ " +ap " +r! 24 0 0241 +char161 " +ct 24 0 0242 +char162 " +Po 24 0 0243 +char163 " +Cs 24 0 0244 +char164 " +Ye 24 0 0245 +char165 " +bb 24 0 0246 +char166 " +sc 24 0 0247 +char167 " +ad 24 0 0250 +char168 " +co 24 0 0251 +char169 " +Of 24 0 0252 +char170 " +Fo 24 0 0253 +char171 " +no 24 0 0254 +char172 " +- 24 0 0255 +hy " +char173 " +rg 24 0 0256 +char174 " +a- 24 0 0257 +char175 " +de 24 0 0260 +char176 " ++- 24 0 0261 +char177 " +S2 24 0 0262 +char178 " +S3 24 0 0263 +char179 " +aa 24 0 0264 +char180 " +*m 24 0 0265 +char181 " +ps 24 0 0266 +char182 " +md 24 0 0267 +char183 " +ac 24 0 0270 +char184 " +S1 24 0 0271 +char185 " +Om 24 0 0272 +char186 " +Fc 24 0 0273 +char187 " +14 24 0 0274 +char188 " +12 24 0 0275 +char189 " +34 24 0 0276 +char190 " +r? 24 0 0277 +char191 " +`A 24 0 0300 +char192 " +'A 24 0 0301 +char193 " +^A 24 0 0302 +char194 " +~A 24 0 0303 +char195 " +:A 24 0 0304 +char196 " +oA 24 0 0305 +char197 " +AE 24 0 0306 +char198 " +,C 24 0 0307 +char199 " +`E 24 0 0310 +char200 " +'E 24 0 0311 +char201 " +^E 24 0 0312 +char202 " +:E 24 0 0313 +char203 " +`I 24 0 0314 +char204 " +'I 24 0 0315 +char205 " +^I 24 0 0316 +char206 " +:I 24 0 0317 +char207 " +-D 24 0 0320 +char208 " +~N 24 0 0321 +char209 " +`O 24 0 0322 +char210 " +'O 24 0 0323 +char211 " +^O 24 0 0324 +char212 " +~O 24 0 0325 +char213 " +:O 24 0 0326 +char214 " +mu 24 0 0327 +char215 " +/O 24 0 0330 +char216 " +`U 24 0 0331 +char217 " +'U 24 0 0332 +char218 " +^U 24 0 0333 +char219 " +:U 24 0 0334 +char220 " +'Y 24 0 0335 +char221 " +TP 24 0 0336 +char222 " +ss 24 0 0337 +char223 " +`a 24 0 0340 +char224 " +'a 24 0 0341 +char225 " +^a 24 0 0342 +char226 " +~a 24 0 0343 +char227 " +:a 24 0 0344 +char228 " +oa 24 0 0345 +char229 " +ae 24 0 0346 +char230 " +,c 24 0 0347 +char231 " +`e 24 0 0350 +char232 " +'e 24 0 0351 +char233 " +^e 24 0 0352 +char234 " +:e 24 0 0353 +char235 " +`i 24 0 0354 +char236 " +'i 24 0 0355 +char237 " +^i 24 0 0356 +char238 " +:i 24 0 0357 +char239 " +Sd 24 0 0360 +char240 " +~n 24 0 0361 +char241 " +`o 24 0 0362 +char242 " +'o 24 0 0363 +char243 " +^o 24 0 0364 +char244 " +~o 24 0 0365 +char245 " +:o 24 0 0366 +char246 " +di 24 0 0367 +char247 " +/o 24 0 0370 +char248 " +`u 24 0 0371 +char249 " +'u 24 0 0372 +char250 " +^u 24 0 0373 +char251 " +:u 24 0 0374 +char252 " +'y 24 0 0375 +char253 " +Tp 24 0 0376 +char254 " +:y 24 0 0377 +char255 " -- 2.20.1