From: Werner Lemberg <wl@gnu.org>
Date: Wed, 1 Jun 2005 19:21:57 +0000 (+0000)
Subject: * buildscripts/substitute-encoding.py: Handle PFAemmentaler-xx.pfa
X-Git-Tag: release/2.5.28~27
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8a23b47120a6cc29b33ad47eb0070ba47b0581ac;p=lilypond.git

* buildscripts/substitute-encoding.py: Handle PFAemmentaler-xx.pfa
correctly.
---

diff --git a/ChangeLog b/ChangeLog
index 339f6ec8a7..5073402bac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-01  Werner Lemberg  <wl@gnu.org>
+
+	* buildscripts/substitute-encoding.py: Handle PFAemmentaler-xx.pfa
+	correctly.
+
 2005-06-01  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
 	* lily/slur-scoring.cc (generate_avoid_offsets): new
diff --git a/buildscripts/substitute-encoding.py b/buildscripts/substitute-encoding.py
index b3b9fade8b..8b8ae4c504 100644
--- a/buildscripts/substitute-encoding.py
+++ b/buildscripts/substitute-encoding.py
@@ -53,5 +53,8 @@ if re.search ('mmental', filename):
 	str = re.sub ('( 0 1 255 { 1 index exch /.notdef put} for)',
 		      '\\1 \n %s'  % put_glyphs,
 		      str)
+	str = re.sub ('StandardEncoding def',
+		      '256 array\n0 1 255 { 1 index exch /.notdef put} for\n%sreadonly def' % put_glyphs,
+		      str)
 
 	open (filename, 'w').write (str)