Skip to content

Commit 6223fbc

Browse files
committed
[CSS2] convert all vector image source files to SVG
This includes two bits of manual fixup: changing the viewport sizes to match the old PNGs, and fixing references to New Century Schoolbook to not use the Postscript name.
1 parent 3d23f1f commit 6223fbc

119 files changed

Lines changed: 6871 additions & 34532 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

css2/Makefile

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,7 @@ SPECSRCS= $(SRCS0) $(MAINSRCS) $(APPSRCS) $(INDEXSRCS) $(REFS)
105105
SPECOBJS= $(SPECSRCS:.src=.html)
106106

107107
IMAGESSRC = \
108-
$(wildcard images/*.eps) \
109-
$(wildcard images/*.fig) \
110-
$(wildcard images/*.gif) \
111-
$(wildcard images/*.idraw) \
112-
$(wildcard images/*.svg) \
113-
$(wildcard images/*.ps)
108+
$(wildcard images/*.svg)
114109

115110
IMAGESBUILT = $(addsuffix .png, $(basename $(IMAGESSRC)))
116111

@@ -268,12 +263,10 @@ LN= ln
268263
$(MKANCHDB) -r $*.html value-def- $(VALUEDB) $@
269264
$(MKANCHDB) -r $*.html propdef- $(VALUEDB) $@
270265

271-
%.png: %.eps; convert -density 96x96 $< $@
272-
%.png: %.ps; convert -density 96x96 $< $@
273-
%.png: %.idraw; convert -density 96x96 $< $@
274-
%.png: %.svg; convert -density 96x96 $< $@
275-
%.png: %.gif; convert -density 96x96 $< $@
276-
%.eps: %.fig; fig2dev -L eps -F -c $< $@
266+
%.big.png: %.svg; convert -density 96x96 $< $@
267+
268+
%.png: %.big.png
269+
zopflipng -m -y $< $@ || cp $< $@
277270

278271
#.idraw.gif:
279272
# $(RM) $@

0 commit comments

Comments
 (0)