Here's the patch,

On Sonntag, 6. Januar 2008, Werner Hoch wrote:
> there's a single character missing for de_DE: sharp s
>
> Which changes do I have to made?
> * create ths font sym: symbol/fonts/s-sharp.sym
> * add the symbol to symbols/geda-font.scm
>
> How to check the changes?
> * in gschem
> * printing to ps, and printer
>
> How to specify the character width?
> * print out and look at the results?
>   ps width == gschem width

I've printed it out, but all characters are smaller in the ps when 
comparing them to the gschem size.

Attached ps shows that difference. The boxes are the space the 
characters take in gschem.

Regards
Werner
From 5fcb1db7da381980a1ecab8c7a0bb80797f3f38e Mon Sep 17 00:00:00 2001
From: Werner Hoch <[EMAIL PROTECTED]>
Date: Sun, 6 Jan 2008 13:50:23 +0100
Subject: [PATCH] symbols: added german sharp s character to the font

added character and added it to the geda-font.scm definition
---
 symbols/font/s_-sharp.sym |   18 ++++++++++++++++++
 symbols/geda-font.scm     |    2 ++
 2 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 symbols/font/s_-sharp.sym

diff --git a/symbols/font/s_-sharp.sym b/symbols/font/s_-sharp.sym
new file mode 100644
index 0000000..bd8ec35
--- /dev/null
+++ b/symbols/font/s_-sharp.sym
@@ -0,0 +1,18 @@
+v 20071229 1
+F ß 19
+L 0 0 0 22 3 0 0 0 -1 -1
+L 0 22 2 25 3 0 0 0 -1 -1
+L 2 25 5 26 3 0 0 0 -1 -1
+L 5 26 8 26 3 0 0 0 -1 -1
+L 8 26 11 24 3 0 0 0 -1 -1
+L 11 24 12 22 3 0 0 0 -1 -1
+L 12 22 12 19 3 0 0 0 -1 -1
+L 12 19 11 16 3 0 0 0 -1 -1
+L 11 16 8 14 3 0 0 0 -1 -1
+L 8 14 12 12 3 0 0 0 -1 -1
+L 12 12 14 9 3 0 0 0 -1 -1
+L 14 9 14 5 3 0 0 0 -1 -1
+L 14 5 12 2 3 0 0 0 -1 -1
+L 12 2 9 0 3 0 0 0 -1 -1
+L 9 0 5 0 3 0 0 0 -1 -1
+L 5 0 2 2 3 0 0 0 -1 -1
diff --git a/symbols/geda-font.scm b/symbols/geda-font.scm
index d083ba5..f148de4 100644
--- a/symbols/geda-font.scm
+++ b/symbols/geda-font.scm
@@ -124,6 +124,8 @@
    ("Ź" . "Z-acute-accent.sym")
    ("ż" . "z_-dot.sym")
    ("Å»" . "Z-dot.sym")
+   ;; latin sharp s character german
+   ("ß" . "s_-sharp.sym")
    ;; small mu character greek
    ("µ" . "mu_.sym")
    ("Ω" . "Omega.sym")
-- 
1.5.2.4

Attachment: untitled_1.ps
Description: PostScript document


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to