Differences between version 2 and predecessor to the previous major change of defoma-subst(1).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Tuesday, June 4, 2002 12:21:53 am | by perry | Revert |
Older page: | version 1 | Last edited on Tuesday, June 4, 2002 12:21:53 am | by perry | Revert |
@@ -38,11 +38,11 @@
# comment..
# comment..
-Helvetica --GeneralFamily SansSerif --Shape NoSerif \
+Helvetica --!
GeneralFamily !
SansSerif --Shape !
NoSerif \
Upright --Weight Medium --Charset,* ISO8859-1
-Helvetica-Bold --GeneralFamily SansSerif --Shape NoSerif \
+Helvetica-Bold --!
GeneralFamily !
SansSerif --Shape !
NoSerif \
Upright --Weight Medium --Charset,* ISO8859-1
In this example Helvetica and Helvetica-Bold are need-to-be-substituted ids, and following hints represent information of these two fonts. The asterisk added to Charset hinttype with comma means Charset is required to match.
@@ -124,17 +124,17 @@
defoma-subst new-rule foo '# This is a comment. ' \
'# Run defoma-subst edit-rule foo to edit this file.' \
-'Times-Roman --GeneralFamily Roman --Charset,* ISO8859-1' \
-'Kanji-H --GeneralFamily Mincho --Charset,* JISX0208'
+'Times-Roman --!
GeneralFamily Roman --Charset,* ISO8859-1' \
+'Kanji-H --!
GeneralFamily Mincho --Charset,* JISX0208'
2. Add some rules to foo.subst-rule.
defoma-subst add-rule foo \
-'Times-Roman --GeneralFamily Roman --Charset,* ISO8859-1' \
-'Kanji-H --GeneralFamily Mincho --Charset,* JISX0208' \
+'Times-Roman --!
GeneralFamily Roman --Charset,* ISO8859-1' \
+'Kanji-H --!
GeneralFamily Mincho --Charset,* JISX0208' \
!!SEE ALSO
defoma(1).
----