summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-02 18:48:48 +0000
committerKarl Berry <karl@freefriends.org>2009-04-02 18:48:48 +0000
commitf22ba9c58716477bc6e86f6508eb5e20a5422328 (patch)
treec616e9d2c2735cbafe36553acac37b6b8c99c839 /Master/texmf-dist/source
parent5c628436fda45c9dcae5c2382445eb7d3395d1d6 (diff)
eurosym subr fix + v1.4 update (31mar09)
git-svn-id: svn://tug.org/texlive/trunk@12607 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/fonts/eurosym/Makefile7
-rw-r--r--Master/texmf-dist/source/fonts/eurosym/eurosym.cpp60
2 files changed, 0 insertions, 67 deletions
diff --git a/Master/texmf-dist/source/fonts/eurosym/Makefile b/Master/texmf-dist/source/fonts/eurosym/Makefile
deleted file mode 100644
index 6c6bdbff251..00000000000
--- a/Master/texmf-dist/source/fonts/eurosym/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-CC=gcc
-CXX=g++
-CXXFLAGS=-g -W -Wall
-LOADLIBES=-lfig -lm
-
-all: eurosym
-.PHONY: all
diff --git a/Master/texmf-dist/source/fonts/eurosym/eurosym.cpp b/Master/texmf-dist/source/fonts/eurosym/eurosym.cpp
deleted file mode 100644
index 5284d2145a3..00000000000
--- a/Master/texmf-dist/source/fonts/eurosym/eurosym.cpp
+++ /dev/null
@@ -1,60 +0,0 @@
-// -*- Mode: C++ -*-
-
-#include <fig.h>
-
-int main (int, char **)
-{
- // These measures are taken from an ``official'' Euro symbol
- // that is programmed in PostScript (which turns out not to
- // use the correct measures.
-
- // However, let's view the values in mm.
- Fig::unit= Fig::mm;
-
- // Default angle unit is degrees:
- Fig::angle_unit= Fig::deg;
-
- // The origin is at the center of the arcs.
- // Inner Arc:
- FigDimension const inner_arc_radius= 67.5;
- FigAngle const inner_arc_angle1= 40.0;
- FigAngle const inner_arc_angle2= 320.0;
-
- // Outer Arc:
- FigDimension const outer_arc_radius= 77.5; // Hmmm... It can be seen that the line width
- // is 10 units. So the inner radius contradicts
- // the official construction; if must be 5 units
- // and the outer one 6 units.
- FigDimension const outer_arc_angle1= 311.8513;
- FigDimension const outer_arc_angle2= 43.68390;
-
- // However, just for the fun of it, continue to write the rest as a fig-file, too:
-
- FILE *f=fopen ("eurosym.fig", "wt");
- (new FigFile (
- FigVectorWidget ()
- << (new FigCEllipse (0, 0, inner_arc_radius)) // instead of arc, use a circle for now
- << (new FigCEllipse (0, 0, outer_arc_radius))
- << (new FigClosedPoly (
- FigVectorPoint()
- << FigPoint (26.73339, -15)
- << FigPoint (-97.5, -15)
- << FigPoint (-93.22267, -5)
- << FigPoint (31.010728, -5)
- << FigPoint (26.73339, -15)
- ))
- << (new FigClosedPoly (
- FigVectorPoint()
- << FigPoint (35.28807, 5)
- << FigPoint (-97.5, 5)
- << FigPoint (-93.22267, 15)
- << FigPoint (39.56541, 15)
- << FigPoint (35.28807, 5)
- ))
- ))->scale (1, -1)
- ->translate (120, 100)
- ->save (f);
- fclose (f);
-
- return 0;
-} \ No newline at end of file