<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ccarh.org/index.php?action=history&amp;feed=atom&amp;title=Dmuse_fonts</id>
	<title>Dmuse fonts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ccarh.org/index.php?action=history&amp;feed=atom&amp;title=Dmuse_fonts"/>
	<link rel="alternate" type="text/html" href="https://wiki.ccarh.org/index.php?title=Dmuse_fonts&amp;action=history"/>
	<updated>2026-05-10T03:13:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.ccarh.org/index.php?title=Dmuse_fonts&amp;diff=2799&amp;oldid=prev</id>
		<title>Craig at 21:45, 18 June 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.ccarh.org/index.php?title=Dmuse_fonts&amp;diff=2799&amp;oldid=prev"/>
		<updated>2012-06-18T21:45:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:45, 18 June 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you look inside a typical &amp;quot;font&amp;quot; file, you will see a top line with&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you look inside a typical &amp;quot;font&amp;quot; file, you will see a top line with&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;13 numbers (fonthead), followed by a set of glyph descriptions, each starting&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;13 numbers (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Media:&lt;/ins&gt;fonthead&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.html|fonthead]]&lt;/ins&gt;), followed by a set of glyph descriptions, each starting&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;with a parameter line (#) with six numbers ([[Media:glyphead.html|glyphead]]).  The design of this data&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;with a parameter line (#) with six numbers ([[Media:glyphead.html|glyphead]]).  The design of this data&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;format dates back to the time when these files were used to load fonts&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;format dates back to the time when these files were used to load fonts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Craig</name></author>
	</entry>
	<entry>
		<id>https://wiki.ccarh.org/index.php?title=Dmuse_fonts&amp;diff=2798&amp;oldid=prev</id>
		<title>Craig at 20:49, 18 June 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.ccarh.org/index.php?title=Dmuse_fonts&amp;diff=2798&amp;oldid=prev"/>
		<updated>2012-06-18T20:49:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:49, 18 June 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l26&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you look inside a typical &amp;quot;font&amp;quot; file, you will see a top line with&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you look inside a typical &amp;quot;font&amp;quot; file, you will see a top line with&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;13 numbers (fonthead), followed by a set of glyph descriptions, each starting&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;13 numbers (fonthead), followed by a set of glyph descriptions, each starting&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;with a parameter line (#) with six numbers (glyphead).  The design of this data&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;with a parameter line (#) with six numbers (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Media:&lt;/ins&gt;glyphead&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.html|glyphead]]&lt;/ins&gt;).  The design of this data&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;format dates back to the time when these files were used to load fonts&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;format dates back to the time when these files were used to load fonts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;into the LaserJet.  The parameters are PLC-3 parameters.  You can find&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;into the LaserJet.  The parameters are PLC-3 parameters.  You can find&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Craig</name></author>
	</entry>
	<entry>
		<id>https://wiki.ccarh.org/index.php?title=Dmuse_fonts&amp;diff=2795&amp;oldid=prev</id>
		<title>Craig: Created page with &#039;There are two sources for music fonts.  The source directory /usr/local/apps/disp/fonts is used by the Dmuse resident utility &quot;Display MuseData file(s) under the Graphics tab at …&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ccarh.org/index.php?title=Dmuse_fonts&amp;diff=2795&amp;oldid=prev"/>
		<updated>2012-06-18T20:39:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;There are two sources for music fonts.  The source directory /usr/local/apps/disp/fonts is used by the Dmuse resident utility &amp;quot;Display MuseData file(s) under the Graphics tab at …&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There are two sources for music fonts.  The source directory&lt;br /&gt;
/usr/local/apps/disp/fonts&lt;br /&gt;
is used by the Dmuse resident utility &amp;quot;Display MuseData file(s) under&lt;br /&gt;
the Graphics tab at the top of the screen.   This&lt;br /&gt;
application is not used very much, and is out-of-date.  The source&lt;br /&gt;
used for the [[zbex]] display engine is in /usr/local/apps/musprint/new;&lt;br /&gt;
in the sub-libraries mfonts (music glyphs), beams (beam glyphs), ties,&lt;br /&gt;
misc (wedges, brackets, extended fonts, etc.), and tms (times-roman&lt;br /&gt;
characters).&lt;br /&gt;
&lt;br /&gt;
There are three programs we run to compile these fonts into useful&lt;br /&gt;
files.  They are in /usr/local/apps/zprogs/apps.&lt;br /&gt;
&lt;br /&gt;
(1) [[newloadx.z]]  This program loads fonts into the Laser-Jet printer&lt;br /&gt;
&lt;br /&gt;
(2) [[newmkfxx.z]]  This program compiles the fonts into a binary file,&lt;br /&gt;
newscrxx.fnt (same library), which is used by the display programs to&lt;br /&gt;
construct the screen display.&lt;br /&gt;
&lt;br /&gt;
(3) [[mkpostf.z]]  This program builds a giant file of postscript&lt;br /&gt;
dictionaries, one for each of the fonts.  The dictionaries are&lt;br /&gt;
stripped off and used as needed by the pspage.z program (compiles&lt;br /&gt;
display output to a .ps file).  The output of mkpostf.z is postdict,&lt;br /&gt;
in the same library.&lt;br /&gt;
&lt;br /&gt;
If you look inside a typical &amp;quot;font&amp;quot; file, you will see a top line with&lt;br /&gt;
13 numbers (fonthead), followed by a set of glyph descriptions, each starting&lt;br /&gt;
with a parameter line (#) with six numbers (glyphead).  The design of this data&lt;br /&gt;
format dates back to the time when these files were used to load fonts&lt;br /&gt;
into the LaserJet.  The parameters are PLC-3 parameters.  You can find&lt;br /&gt;
a description of them in the two files in&lt;br /&gt;
/usr/local/apps/musprint/fonts/doc.&lt;br /&gt;
&lt;br /&gt;
The glyphs, themselves, are bitmaps.  The &amp;quot;x&amp;quot; character is used &lt;br /&gt;
to represent 1&amp;#039;s (black) and blanks represent 0&amp;#039;s.  Other characters such as &amp;#039;.&amp;#039;&lt;br /&gt;
are equivalent to 0&amp;#039;s but are used to display in the font where staff lines&lt;br /&gt;
are supposed to align.  When positioning a glyph, there are two&lt;br /&gt;
important numbers: (1) number of dots above the baseline, and (2)&lt;br /&gt;
number of dots of empty space to the left of the glyph.  In the case&lt;br /&gt;
of text characters, the horizontal increment of the &amp;quot;cursor&amp;quot; after&lt;br /&gt;
display is also important.&lt;br /&gt;
&lt;br /&gt;
In the case of music glyphs, we also have to deal with a pre-process&lt;br /&gt;
vertical shift.  This also dates back to the early LaserJets.  The&lt;br /&gt;
file containing these numbers (measured in scale steps) is&lt;br /&gt;
/usr/local/apps/musprint/new/mfonts/pos3.&lt;br /&gt;
&lt;br /&gt;
Another thing:  the MuseData format specifies&lt;br /&gt;
text fonts starting with font 31 and going to font 48.  Fonts 31-33&lt;br /&gt;
are &amp;quot;supposedly&amp;quot; 8 point (actually in notesize 14, this is close).&lt;br /&gt;
Fonts 34-36 are 9 point; fonts 37-39 are 10 point, fonts 40-42 are 11&lt;br /&gt;
point, fonts 43-45 are 12 point, and fonts 46-48 are 14 point (all for&lt;br /&gt;
notesize 14).  For the different notesizes, the character fonts also&lt;br /&gt;
scale up and down.  In other words, they keep their same relative size&lt;br /&gt;
(relative to the size of the notes).  This way everything scales up&lt;br /&gt;
and down with the notesize parameter.&lt;br /&gt;
&lt;br /&gt;
In early implementations of the dmuse, different font sets existed for each note size.  &lt;br /&gt;
But&lt;br /&gt;
then, at some point, a universal set of&lt;br /&gt;
fonts was generated, and these use a mapping to say which universal font number (size)&lt;br /&gt;
corresponded to a, say for example, font-41 in notesize 18.  So&lt;br /&gt;
font-41 in notesize 18 is a different universal font number from&lt;br /&gt;
font-41 in notesize 6.  The master list of fonts and the mapping to&lt;br /&gt;
the different notesizes is contained in the file:&lt;br /&gt;
/usr/local/apps/musprint/new/fontmap.  We use the map also for&lt;br /&gt;
choosing the correct beam fonts, wedge fonts, and bracket fonts.&lt;/div&gt;</summary>
		<author><name>Craig</name></author>
	</entry>
</feed>