diff options
author | taca <taca@pkgsrc.org> | 2004-11-30 17:29:30 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-11-30 17:29:30 +0000 |
commit | 998b26b1ce543397ee66caaa543e61827ab00113 (patch) | |
tree | b764c4885ce52aa80278e3de0c2deaa09d8805c1 /graphics/magicpoint/patches | |
parent | b12f5745e73dd679cfd97149450d9939a52b129e (diff) | |
download | pkgsrc-998b26b1ce543397ee66caaa543e61827ab00113.tar.gz |
Allow to select font rendering engines with PKG_OPTION. Possible
options are freetype, vflib and xft2. Default is xft2 which is the
same as previous magicpoint package.
This work is written by Kouichirou Hiratsuka and I modified to use
bsd.options.mk framework.
Bump package revision.
Diffstat (limited to 'graphics/magicpoint/patches')
-rw-r--r-- | graphics/magicpoint/patches/patch-ah | 41 | ||||
-rw-r--r-- | graphics/magicpoint/patches/patch-ai | 50 | ||||
-rw-r--r-- | graphics/magicpoint/patches/patch-aj | 41 |
3 files changed, 132 insertions, 0 deletions
diff --git a/graphics/magicpoint/patches/patch-ah b/graphics/magicpoint/patches/patch-ah new file mode 100644 index 00000000000..e6656b3a331 --- /dev/null +++ b/graphics/magicpoint/patches/patch-ah @@ -0,0 +1,41 @@ +$NetBSD: patch-ah,v 1.1 2004/11/30 17:29:30 taca Exp $ + +--- sample/default.mgp.template.orig 2004-10-20 00:33:13.000000000 +0900 ++++ sample/default.mgp.template +@@ -0,0 +1,36 @@ ++%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ++%% ++%% Default font settings for xft2. ++%% ++%% %deffont "standard" xfont "serif" "iso8859-1", xfont "serif" "jisx0208.1983" ++%% %deffont "thick" xfont "sans-serif" "iso8859-1", xfont "sans-serif" "jisx0208.1983" ++%% %deffont "typewriter" xfont "sans-serif" "iso8859-1", xfont "sans-serif" "jisx0208.1983" ++%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ++%% ++%% Default font settings for vflib. ++%% ++%% %deffont "standard" vfont "min" ++%% %deffont "thick" vfont "goth" ++%% %deffont "typewriter" vfont "goth" ++%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ++%% ++%% Default font settings for freetype. ++%% ++%% %deffont "standard" tfont "standard.ttf", tmfont "kochi-mincho.ttf" ++%% %deffont "thick" tfont "thick.ttf", tmfont "goth.ttf" ++%% %deffont "typewriter" tfont "typewriter.ttf", tmfont "goth.ttf" ++%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ++%% ++%% Default settings per each line numbers. ++%% ++%default 1 area 90 90, leftfill, size 2, fore "white", back "black", font "thick" ++%default 2 size 7, vgap 10, prefix " " ++%default 3 size 2, bar "gray70", vgap 10 ++%default 4 size 5, fore "white", vgap 30, prefix " ", font "standard" ++%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ++%% ++%% Default settings that are applied to TAB-indented lines. ++%% ++%tab 1 size 5, vgap 40, prefix " ", icon box "green" 50 ++%tab 2 size 4, vgap 40, prefix " ", icon arc "yellow" 50 ++%tab 3 size 3, vgap 40, prefix " ", icon delta3 "white" 40 diff --git a/graphics/magicpoint/patches/patch-ai b/graphics/magicpoint/patches/patch-ai new file mode 100644 index 00000000000..e831c476583 --- /dev/null +++ b/graphics/magicpoint/patches/patch-ai @@ -0,0 +1,50 @@ +$NetBSD: patch-ai,v 1.1 2004/11/30 17:29:30 taca Exp $ + +--- sample/sample-jp.mgp.orig 2001-08-11 18:53:53.000000000 +0900 ++++ sample/sample-jp.mgp +@@ -1,35 +1,4 @@ +-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +-%% +-%% This default.mgp is "TrueType fonts" oriented. +-%% First, you should create "~/.mgprc" whose contents are: +-%% tfdir "/path/to/truetype/fonts" +-%% +-%% To visualize English, install "times.ttf", "arial.ttf", and "cour.ttf" +-%% into the "tfdir" directory above: +-%% http://microsoft.com/typography/fontpack/default.htm +-%% +-%% To visualize Japanese, install "MSMINCHO.ttf" and +-%% "watanabenabe-mincho.ttf" into the "tfdir" directory above: +-%% http://www.mew.org/mgp/xtt-fonts_0.19981020-3.tar.gz +-%% +-%deffont "thick" xfont "helvetica-bold-r", tfont "thick.ttf", tmfont "goth.ttf" +-%deffont "standard" xfont "helvetica-medium-r", tfont "standard.ttf", tmfont "kochi-mincho.ttf" +-%deffont "typewriter" xfont "courier-medium-r", tfont "typewriter.ttf", tmfont "goth.ttf" +-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +-%% +-%% Default settings per each line numbers. +-%% +-%default 1 area 90 90, leftfill, size 2, fore "gray20", back "white", font "standard", hgap 0 +-%default 2 size 5, hgap 20, vgap 10, prefix " ", ccolor "black" +-%default 3 size 2, hgap 10, bar "gray70", vgap 10 +-%default 4 size 4, hgap 10, fore "gray20", vgap 30, prefix " ", font "standard" +-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +-%% +-%% Default settings that are applied to TAB-indented lines. +-%% +-%tab 1 size 4, vgap 40, prefix " ", icon box "green" 50 +-%tab 2 size 3.5, vgap 40, prefix " ", icon arc "yellow" 50 +-%tab 3 size 3, vgap 40, prefix " ", icon delta3 "white" 40 ++%include "default.mgp" + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %page + %nodefault +@@ -202,7 +171,7 @@ UNIX$B$H$$$&$/$i$$$G!"%=!<%9$N9T$O%P%C% + + + ($BB?J,(B)$BI=<(2DG=$J%$%a!<%8!&%U%)!<%^%C%H$O0J2<$NDL$j$G$9(B +-%CENTER,SIZE 3,FORE "red", xfont "times-medium-r", tfont "times.ttf" ++%CENTER,SIZE 3,FORE "red", font "typewriter" + + FBM Image + Sun Rasterfile diff --git a/graphics/magicpoint/patches/patch-aj b/graphics/magicpoint/patches/patch-aj new file mode 100644 index 00000000000..8a8bf5a818e --- /dev/null +++ b/graphics/magicpoint/patches/patch-aj @@ -0,0 +1,41 @@ +$NetBSD: patch-aj,v 1.1 2004/11/30 17:29:30 taca Exp $ + +--- sample/sample.mgp.orig 2001-08-11 18:53:53.000000000 +0900 ++++ sample/sample.mgp +@@ -1,35 +1,4 @@ +-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +-%% +-%% This default.mgp is "TrueType fonts" oriented. +-%% First, you should create "~/.mgprc" whose contents are: +-%% tfdir "/path/to/truetype/fonts" +-%% +-%% To visualize English, install "times.ttf", "arial.ttf", and "cour.ttf" +-%% into the "tfdir" directory above: +-%% http://microsoft.com/typography/fontpack/default.htm +-%% +-%% To visualize Japanese, install "MSMINCHO.ttf" and +-%% "watanabenabe-mincho.ttf" into the "tfdir" directory above: +-%% http://www.mew.org/mgp/xtt-fonts_0.19981020-3.tar.gz +-%% +-%deffont "standard" xfont "helvetica-medium-r", tfont "standard.ttf", tmfont "hoso6.ttf" +-%deffont "thick" xfont "helvetica-bold-r", tfont "thick.ttf", tmfont "hoso6.ttf" +-%deffont "typewriter" xfont "courier-medium-r", tfont "typewriter.ttf", tmfont "hoso6.ttf" +-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +-%% +-%% Default settings per each line numbers. +-%% +-%default 1 area 90 90, leftfill, size 2, fore "gray20", back "white", font "standard", hgap 0 +-%default 2 size 7, vgap 10, prefix " ", ccolor "black" +-%default 3 size 2, bar "gray70", vgap 10 +-%default 4 size 5, fore "gray20", vgap 30, prefix " ", font "standard" +-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +-%% +-%% Default settings that are applied to TAB-indented lines. +-%% +-%tab 1 size 5, vgap 40, prefix " ", icon box "green" 50 +-%tab 2 size 4, vgap 40, prefix " ", icon arc "yellow" 50 +-%tab 3 size 3, vgap 40, prefix " ", icon delta3 "white" 40 ++%include "default.mgp" + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %page + %nodefault |