groff/groff-1.18.1-devutf8.patch
2006-01-05 14:49:14 +00:00

43 lines
1.2 KiB
Diff

--- groff-1.18.1/font/devutf8/M.proto.devutf8 2004-03-08 16:25:52.000000000 +0100
+++ groff-1.18.1/font/devutf8/M.proto 2004-03-08 17:02:40.265336984 +0100
@@ -1,6 +1,6 @@
name M
internalname 4
-spacewidth 48
+spacewidth 24
charset
-u2E00..u9FFF 48 0
-uFF00..uFFEF 48 0
+u0100..u07FF 24 0
+u0800..uFFFF 48 0
--- groff-1.18.1/font/devutf8/DESC.proto.devutf8 2004-03-08 16:25:52.000000000 +0100
+++ groff-1.18.1/font/devutf8/DESC.proto 2004-03-08 16:25:53.000000000 +0100
@@ -3,10 +3,7 @@
vert 40
unitwidth 10
sizes 10 0
-fonts 6 R I B BI M G
-fontset B G 2E00..9FFF
-fontset B G FF00..FFEF
-fontset - M 2E00..9FFF
-fontset - M FF00..FFEF
+fonts 5 R I B BI M
+fontset - M 0100..FFFF
tcommand
postpro grotty
--- groff-1.18.1/font/devutf8/Makefile.sub.devutf8 2004-03-08 16:25:52.000000000 +0100
+++ groff-1.18.1/font/devutf8/Makefile.sub 2004-03-08 17:03:58.858389024 +0100
@@ -25,11 +25,7 @@
M: M.proto
@echo Making M
@-rm -f M
- (wcharwidth=`expr $(RES) / $(CPI) \* 2` ; \
- spacewidth=`expr $(RES) / $(CPI)` ; \
- sed -e "s/^spacewidth [0-9][0-9]*$$/spacewidth $$spacewidth/" \
- -e "s/^u\\([0-9A-F]*\\)..u\\([0-9A-F]*\\) [0-9][0-9]*/u\\1..u\\2 $$wcharwidth/" \
- $(srcdir)/M.proto > $@)
+ @cp M.proto M
G: M
@echo Making G