https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&feed=atom&action=history How to Add Characters and Icons to the Font - Revision history 2024-05-21T01:51:54Z Revision history for this page on the wiki MediaWiki 1.30.0 https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&diff=8818&oldid=prev catsoften: Update font.bz2 location 2023-05-16T15:19:40Z <p>Update font.bz2 location</p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr style="vertical-align: top;" lang="en"> <td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 15:19, 16 May 2023</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l4" >Line 4:</td> <td colspan="2" class="diff-lineno">Line 4:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Compiling the font editor ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Compiling the font editor ==</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>The data for the font is specified in &lt;code&gt;<del class="diffchange diffchange-inline">data</del>/font.bz2&lt;/code&gt; but editing that file by hand is a bad idea. The TPT source comes with a graphical editor for this file, which you can build by setting the &lt;code&gt;build_font&lt;/code&gt; option to &lt;code&gt;true&lt;/code&gt;, as explained in [[Building TPT with Meson|the meson guide]]. This will produce an executable called &lt;code&gt;font&lt;/code&gt; or &lt;code&gt;font.exe&lt;/code&gt;. You will have to pass the path to &lt;code&gt;<del class="diffchange diffchange-inline">data</del>/font.bz2&lt;/code&gt; to it as a command line argument, e.g. &lt;code&gt;font.exe ..\<del class="diffchange diffchange-inline">data</del>\font.bz2&lt;/code&gt; or &lt;code&gt;build\font.exe <del class="diffchange diffchange-inline">data</del>\font.bz2&lt;/code&gt;.</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>The data for the font is specified in &lt;code&gt;<ins class="diffchange diffchange-inline">resources</ins>/font.bz2&lt;/code&gt; but editing that file by hand is a bad idea. The TPT source comes with a graphical editor for this file, which you can build by setting the &lt;code&gt;build_font&lt;/code&gt; option to &lt;code&gt;true&lt;/code&gt;, as explained in [[Building TPT with Meson|the meson guide]]. This will produce an executable called &lt;code&gt;font&lt;/code&gt; or &lt;code&gt;font.exe&lt;/code&gt;. You will have to pass the path to &lt;code&gt;<ins class="diffchange diffchange-inline">resources</ins>/font.bz2&lt;/code&gt; to it as a command line argument, e.g. &lt;code&gt;font.exe ..\<ins class="diffchange diffchange-inline">resources</ins>\font.bz2&lt;/code&gt; or &lt;code&gt;build\font.exe <ins class="diffchange diffchange-inline">resources</ins>\font.bz2&lt;/code&gt;.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Editing the font ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Editing the font ==</div></td></tr> </table> catsoften https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&diff=8705&oldid=prev jacob1: Reverted edits by HerpesMaster11 (talk) to last revision by LBPHacker 2022-12-26T04:54:06Z <p>Reverted edits by <a href="/Wiki/W/Special:Contributions/HerpesMaster11.html" title="Special:Contributions/HerpesMaster11">HerpesMaster11</a> (<a href="/Wiki/index.php?title=User_talk:HerpesMaster11&amp;action=edit&amp;redlink=1" class="new" title="User talk:HerpesMaster11 (page does not exist)">talk</a>) to last revision by <a href="/Wiki/index.php?title=User:LBPHacker&amp;action=edit&amp;redlink=1" class="new" title="User:LBPHacker (page does not exist)">LBPHacker</a></p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr style="vertical-align: top;" lang="en"> <td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 04:54, 26 December 2022</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">My name is Walter Hartwell White</del>. <del class="diffchange diffchange-inline">I live at 308 Negra Arroyo Lane, Albuquerque, New Mexico, 87104</del>. <del class="diffchange diffchange-inline">This </del>is <del class="diffchange diffchange-inline">my confession</del>. <del class="diffchange diffchange-inline">If you're watching this tape, I'm probably dead- murdered </del>by <del class="diffchange diffchange-inline">my brother-in-law, Hank Schrader</del>. <del class="diffchange diffchange-inline">Hank has been building </del>a <del class="diffchange diffchange-inline">meth empire </del>for <del class="diffchange diffchange-inline">over a year now</del>, <del class="diffchange diffchange-inline">and using me as his chemist. Shortly after my 50th birthday, he asked that I use my chemistry knowledge </del>to <del class="diffchange diffchange-inline">cook methamphetamine</del>, <del class="diffchange diffchange-inline">which he would then sell using connections that he made through his career </del>with the <del class="diffchange diffchange-inline">DEA</del>. <del class="diffchange diffchange-inline">I was</del>..<del class="diffchange diffchange-inline">. astounded. I... I always thought Hank was a very moral man, and I was particularly vulnerable at </del>the <del class="diffchange diffchange-inline">time - something he knew and took advantage of</del>. <del class="diffchange diffchange-inline">I was reeling from a cancer diagnosis that was poised </del>to <del class="diffchange diffchange-inline">bankrupt my family. Hank took me in on </del>a <del class="diffchange diffchange-inline">ride-along and showed me just how much money even a small meth operation could make</del>. <del class="diffchange diffchange-inline">And I was weak</del>. <del class="diffchange diffchange-inline">I didn't want my family to go into financial ruin, so I agreed</del>. <del class="diffchange diffchange-inline">Hank had a partner, a businessman named Gustavo Fring</del>. <del class="diffchange diffchange-inline">Hank sold me into servitude to this man</del>. <del class="diffchange diffchange-inline">And when I tried to quit, Fring threatened my family</del>. <del class="diffchange diffchange-inline">I didn't know where to turn</del>. <del class="diffchange diffchange-inline">Eventually, Hank and Fring had a falling-out</del>. <del class="diffchange diffchange-inline">Things escalated</del>. <del class="diffchange diffchange-inline">Fring was able to arrange - uh, I guess</del>... <del class="diffchange diffchange-inline">I guess </del>you <del class="diffchange diffchange-inline">call it a &quot;hit&quot; - on Hank</del>, <del class="diffchange diffchange-inline">and failed</del>, <del class="diffchange diffchange-inline">but Hank was seriously injured. And I wound up paying his medical bills</del>, <del class="diffchange diffchange-inline">which amounted to </del>a <del class="diffchange diffchange-inline">little over $177</del>,<del class="diffchange diffchange-inline">000. Upon recovery, Hank was bent on revenge. Working </del>with <del class="diffchange diffchange-inline">a man named Hector Salamanca</del>, <del class="diffchange diffchange-inline">he plotted </del>to <del class="diffchange diffchange-inline">kill Fring. The bomb that he </del>used <del class="diffchange diffchange-inline">was built by me, and he gave me no option in it</del>. <del class="diffchange diffchange-inline">I have often contemplated suicide, but I'm a coward. I wanted to go to </del>the <del class="diffchange diffchange-inline">police, but I was frightened. Hank had risen to become </del>the <del class="diffchange diffchange-inline">head of the Albuquerque DEA</del>. <del class="diffchange diffchange-inline">To keep me </del>in <del class="diffchange diffchange-inline">line</del>, <del class="diffchange diffchange-inline">he took my children</del>. <del class="diffchange diffchange-inline">For three months, he kept them</del>. <del class="diffchange diffchange-inline">My wife had no idea of my criminal activities</del>, and <del class="diffchange diffchange-inline">was horrified </del>to <del class="diffchange diffchange-inline">learn </del>what <del class="diffchange diffchange-inline">I had done</del>. <del class="diffchange diffchange-inline">I was in hell. I hated myself for what I had brought upon my family. Recently</del>, <del class="diffchange diffchange-inline">I tried once again to quit</del>, <del class="diffchange diffchange-inline">and in response</del>, <del class="diffchange diffchange-inline">he gave me this. [Walt points </del>to the <del class="diffchange diffchange-inline">bruise on his face left </del>by <del class="diffchange diffchange-inline">Hank </del>in &quot;<del class="diffchange diffchange-inline">Blood Money.</del>&quot;<del class="diffchange diffchange-inline">] I can't take this anymore</del>. <del class="diffchange diffchange-inline">I live in fear every day that Hank </del>will <del class="diffchange diffchange-inline">kill me, or worse, hurt my family</del>. <del class="diffchange diffchange-inline">All I could think </del>to <del class="diffchange diffchange-inline">do was to make this video and hope that </del>the <del class="diffchange diffchange-inline">world will finally see this man </del>for what <del class="diffchange diffchange-inline">he really is</del>.</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">== Icons ==</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">Any icons specific to The Powder Toy are allocated from one of the private use areas of unicode: U+E000 through U+F8FF</ins>. <ins class="diffchange diffchange-inline">If you wish to add a new icon you should allocate it from that range</ins>.</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">== Compiling the font editor ==</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">The data for the font </ins>is <ins class="diffchange diffchange-inline">specified in &lt;code&gt;data/font</ins>.<ins class="diffchange diffchange-inline">bz2&lt;/code&gt; but editing that file </ins>by <ins class="diffchange diffchange-inline">hand is a bad idea</ins>. <ins class="diffchange diffchange-inline">The TPT source comes with </ins>a <ins class="diffchange diffchange-inline">graphical editor </ins>for <ins class="diffchange diffchange-inline">this file</ins>, <ins class="diffchange diffchange-inline">which you can build by setting the &lt;code&gt;build_font&lt;/code&gt; option </ins>to <ins class="diffchange diffchange-inline">&lt;code&gt;true&lt;/code&gt;</ins>, <ins class="diffchange diffchange-inline">as explained in [[Building TPT </ins>with <ins class="diffchange diffchange-inline">Meson|</ins>the <ins class="diffchange diffchange-inline">meson guide]]</ins>. <ins class="diffchange diffchange-inline">This will produce an executable called &lt;code&gt;font&lt;/code&gt; or &lt;code&gt;font</ins>.<ins class="diffchange diffchange-inline">exe&lt;/code&gt;</ins>. <ins class="diffchange diffchange-inline">You will have to pass </ins>the <ins class="diffchange diffchange-inline">path to &lt;code&gt;data/font</ins>.<ins class="diffchange diffchange-inline">bz2&lt;/code&gt; </ins>to <ins class="diffchange diffchange-inline">it as </ins>a <ins class="diffchange diffchange-inline">command line argument, e</ins>.<ins class="diffchange diffchange-inline">g</ins>. <ins class="diffchange diffchange-inline">&lt;code&gt;font</ins>.<ins class="diffchange diffchange-inline">exe </ins>..<ins class="diffchange diffchange-inline">\data\font</ins>.<ins class="diffchange diffchange-inline">bz2&lt;/code&gt; or &lt;code&gt;build\font</ins>.<ins class="diffchange diffchange-inline">exe data\font</ins>.<ins class="diffchange diffchange-inline">bz2&lt;/code&gt;</ins>.</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">== Editing the font ==</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">After opening &lt;code&gt;font</ins>.<ins class="diffchange diffchange-inline">bz2&lt;/code&gt; using the font editor you will be presented with a GUI</ins>. <ins class="diffchange diffchange-inline">The top part contains the character currently being edited</ins>. <ins class="diffchange diffchange-inline">Below you can select the unicode codepoint </ins>you<ins class="diffchange diffchange-inline">'re currently looking at (in hexadecimal, or using the arrows)</ins>, <ins class="diffchange diffchange-inline">make the character wider or narrower</ins>, <ins class="diffchange diffchange-inline">create or delete the character</ins>, <ins class="diffchange diffchange-inline">toggle the grid and the rulers (take </ins>a <ins class="diffchange diffchange-inline">look at several uppercase and lowercase characters</ins>, <ins class="diffchange diffchange-inline">characters </ins>with <ins class="diffchange diffchange-inline">lower hooks and accents</ins>, to <ins class="diffchange diffchange-inline">see how these rulers are </ins>used<ins class="diffchange diffchange-inline">)</ins>.</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">Below you can configure </ins>the <ins class="diffchange diffchange-inline">foreground and background colors for </ins>the <ins class="diffchange diffchange-inline">editor (sometimes useful for multi-colored icons)</ins>. <ins class="diffchange diffchange-inline">&quot;Render&quot; reflects your changes </ins>in <ins class="diffchange diffchange-inline">the font editor program itself</ins>, <ins class="diffchange diffchange-inline">and &quot;Save&quot; saves your changes into &lt;code&gt;font</ins>.<ins class="diffchange diffchange-inline">bz2&lt;/code&gt;</ins>. <ins class="diffchange diffchange-inline">On the bottom left there is a text field into which you can enter codepoints in hexadecimal</ins>, and <ins class="diffchange diffchange-inline">they will be rendered on the bottom right, this is </ins>to <ins class="diffchange diffchange-inline">test </ins>what <ins class="diffchange diffchange-inline">they look like among other text</ins>.</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">The font editor also supports some key bindings: Left and Right to switch between characters; Shift-Left</ins>, <ins class="diffchange diffchange-inline">Right</ins>, <ins class="diffchange diffchange-inline">Up</ins>, <ins class="diffchange diffchange-inline">Down </ins>to <ins class="diffchange diffchange-inline">shift </ins>the <ins class="diffchange diffchange-inline">current character </ins>by <ins class="diffchange diffchange-inline">1 pixel </ins>in <ins class="diffchange diffchange-inline">either direction; C to copy the current character and V to paste; Q to exit.</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">Once you're done with editing the font press </ins>&quot;<ins class="diffchange diffchange-inline">Save</ins>&quot; <ins class="diffchange diffchange-inline">and exit</ins>. <ins class="diffchange diffchange-inline">This </ins>will <ins class="diffchange diffchange-inline">update &lt;code&gt;font</ins>.<ins class="diffchange diffchange-inline">bz2&lt;/code&gt; so next time you compile TPT it will include your changes </ins>to the <ins class="diffchange diffchange-inline">font.</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">== Menu Icons ==</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">Defines for the menu sections are located in &lt;code&gt;simulation/SimulationData.h&lt;/code&gt;. Take a look at &lt;code&gt;LoadMenus()&lt;/code&gt; in &lt;code&gt;simulation/SimulationData.cpp&lt;/code&gt;. The first column is the unicode codepoint </ins>for <ins class="diffchange diffchange-inline">the icon, the second column is the menu name. These are </ins>what <ins class="diffchange diffchange-inline">you need to edit to create a new menu</ins>.</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">[[Category:Development]]</ins></div></td></tr> </table> jacob1 https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&diff=8693&oldid=prev HerpesMaster11: Enter a short summary [b] 2022-12-26T04:38:46Z <p>Enter a short summary [b]</p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr style="vertical-align: top;" lang="en"> <td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 04:38, 26 December 2022</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">== Icons ==</del></div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">My name is Walter Hartwell White</ins>. <ins class="diffchange diffchange-inline">I live at 308 Negra Arroyo Lane, Albuquerque, New Mexico, 87104</ins>. <ins class="diffchange diffchange-inline">This </ins>is <ins class="diffchange diffchange-inline">my confession</ins>. <ins class="diffchange diffchange-inline">If you're watching this tape, I'm probably dead- murdered </ins>by <ins class="diffchange diffchange-inline">my brother-in-law, Hank Schrader</ins>. <ins class="diffchange diffchange-inline">Hank has been building </ins>a <ins class="diffchange diffchange-inline">meth empire </ins>for <ins class="diffchange diffchange-inline">over a year now, and using me as his chemist. Shortly after my 50th birthday</ins>, <ins class="diffchange diffchange-inline">he asked that I use my chemistry knowledge </ins>to <ins class="diffchange diffchange-inline">cook methamphetamine</ins>, <ins class="diffchange diffchange-inline">which he would then sell using connections that he made through his career </ins>with the <ins class="diffchange diffchange-inline">DEA. I was... astounded. I</ins>... <ins class="diffchange diffchange-inline">I always thought Hank was a very moral man, and I was particularly vulnerable at </ins>the <ins class="diffchange diffchange-inline">time - something he knew and took advantage of. I was reeling from a cancer diagnosis that was poised </ins>to <ins class="diffchange diffchange-inline">bankrupt my family. Hank took me in on a ride-along and showed me just how much money even a small meth operation could make</ins>. <ins class="diffchange diffchange-inline">And I was weak. I didn't want my family </ins>to <ins class="diffchange diffchange-inline">go into financial ruin, so I agreed. Hank had </ins>a <ins class="diffchange diffchange-inline">partner</ins>, <ins class="diffchange diffchange-inline">a businessman named Gustavo Fring</ins>. <ins class="diffchange diffchange-inline">Hank sold me into servitude to this man</ins>. <ins class="diffchange diffchange-inline">And when I tried to quit, Fring threatened my family</ins>. <ins class="diffchange diffchange-inline">I didn't know where to turn</ins>. <ins class="diffchange diffchange-inline">Eventually, Hank and Fring had a falling-out</ins>. <ins class="diffchange diffchange-inline">Things escalated</ins>. <ins class="diffchange diffchange-inline">Fring was able to arrange - uh, I guess</ins>... <ins class="diffchange diffchange-inline">I guess </ins>you <ins class="diffchange diffchange-inline">call it </ins>a <ins class="diffchange diffchange-inline">&quot;hit&quot; - on Hank, and failed, but Hank was seriously injured</ins>. <ins class="diffchange diffchange-inline">And I wound up paying his medical bills</ins>, <ins class="diffchange diffchange-inline">which amounted to a little over $177</ins>,<ins class="diffchange diffchange-inline">000. Upon recovery</ins>, <ins class="diffchange diffchange-inline">Hank was bent on revenge. Working with a man named Hector Salamanca</ins>, <ins class="diffchange diffchange-inline">he plotted to kill Fring. The bomb that he used was built by me</ins>, and <ins class="diffchange diffchange-inline">he gave me no option in it. I have often contemplated suicide</ins>, <ins class="diffchange diffchange-inline">but I'm a coward. I wanted </ins>to <ins class="diffchange diffchange-inline">go to the police, but I was frightened</ins>. <ins class="diffchange diffchange-inline">Hank had risen to become </ins>the <ins class="diffchange diffchange-inline">head of </ins>the <ins class="diffchange diffchange-inline">Albuquerque DEA</ins>. <ins class="diffchange diffchange-inline">To keep me </ins>in <ins class="diffchange diffchange-inline">line</ins>, <ins class="diffchange diffchange-inline">he took my children</ins>. <ins class="diffchange diffchange-inline">For three months, he kept them</ins>. <ins class="diffchange diffchange-inline">My wife had no idea of my criminal activities</ins>, and <ins class="diffchange diffchange-inline">was horrified </ins>to <ins class="diffchange diffchange-inline">learn what I had done. I was in hell. I hated myself for </ins>what <ins class="diffchange diffchange-inline">I had brought upon my family</ins>. <ins class="diffchange diffchange-inline">Recently, I tried once again </ins>to <ins class="diffchange diffchange-inline">quit</ins>, <ins class="diffchange diffchange-inline">and in response</ins>, <ins class="diffchange diffchange-inline">he gave me this. [Walt points </ins>to the <ins class="diffchange diffchange-inline">bruise on his face left </ins>by <ins class="diffchange diffchange-inline">Hank </ins>in <ins class="diffchange diffchange-inline">&quot;Blood Money</ins>.<ins class="diffchange diffchange-inline">&quot;] I can</ins>'<ins class="diffchange diffchange-inline">t take this anymore</ins>. <ins class="diffchange diffchange-inline">I live in fear every day that Hank </ins>will <ins class="diffchange diffchange-inline">kill me, or worse, hurt my family</ins>. <ins class="diffchange diffchange-inline">All I could think to do was </ins>to <ins class="diffchange diffchange-inline">make this video and hope that </ins>the <ins class="diffchange diffchange-inline">world will finally see this man </ins>for <ins class="diffchange diffchange-inline">what he really </ins>is.</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">Any icons specific to The Powder Toy are allocated from one of the private use areas of unicode: U+E000 through U+F8FF</del>. <del class="diffchange diffchange-inline">If you wish to add a new icon you should allocate it from that range</del>.</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>&#160;</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">== Compiling the font editor ==</del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>&#160;</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">The data for the font </del>is <del class="diffchange diffchange-inline">specified in &lt;code&gt;data/font</del>.<del class="diffchange diffchange-inline">bz2&lt;/code&gt; but editing that file </del>by <del class="diffchange diffchange-inline">hand is a bad idea</del>. <del class="diffchange diffchange-inline">The TPT source comes with </del>a <del class="diffchange diffchange-inline">graphical editor </del>for <del class="diffchange diffchange-inline">this file</del>, <del class="diffchange diffchange-inline">which you can build by setting the &lt;code&gt;build_font&lt;/code&gt; option </del>to <del class="diffchange diffchange-inline">&lt;code&gt;true&lt;/code&gt;</del>, <del class="diffchange diffchange-inline">as explained in [[Building TPT </del>with <del class="diffchange diffchange-inline">Meson|</del>the <del class="diffchange diffchange-inline">meson guide]]</del>. <del class="diffchange diffchange-inline">This will produce an executable called &lt;code&gt;font&lt;/code&gt; or &lt;code&gt;font</del>.<del class="diffchange diffchange-inline">exe&lt;/code&gt;</del>. <del class="diffchange diffchange-inline">You will have to pass </del>the <del class="diffchange diffchange-inline">path </del>to <del class="diffchange diffchange-inline">&lt;code&gt;data/font</del>.<del class="diffchange diffchange-inline">bz2&lt;/code&gt; </del>to <del class="diffchange diffchange-inline">it as </del>a <del class="diffchange diffchange-inline">command line argument</del>, <del class="diffchange diffchange-inline">e</del>.<del class="diffchange diffchange-inline">g</del>. <del class="diffchange diffchange-inline">&lt;code&gt;font</del>.<del class="diffchange diffchange-inline">exe </del>..<del class="diffchange diffchange-inline">\data\font</del>.<del class="diffchange diffchange-inline">bz2&lt;/code&gt; or &lt;code&gt;build\font</del>.<del class="diffchange diffchange-inline">exe data\font</del>.<del class="diffchange diffchange-inline">bz2&lt;/code&gt;.</del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>&#160;</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">== Editing the font ==</del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>&#160;</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">After opening &lt;code&gt;font</del>.<del class="diffchange diffchange-inline">bz2&lt;/code&gt; using the font editor </del>you <del class="diffchange diffchange-inline">will be presented with </del>a <del class="diffchange diffchange-inline">GUI. The top part contains the character currently being edited</del>. <del class="diffchange diffchange-inline">Below you can select the unicode codepoint you're currently looking at (in hexadecimal</del>, <del class="diffchange diffchange-inline">or using the arrows)</del>, <del class="diffchange diffchange-inline">make the character wider or narrower</del>, <del class="diffchange diffchange-inline">create or delete the character</del>, <del class="diffchange diffchange-inline">toggle the grid and the rulers (take a look at several uppercase and lowercase characters</del>, <del class="diffchange diffchange-inline">characters with lower hooks </del>and <del class="diffchange diffchange-inline">accents</del>, to <del class="diffchange diffchange-inline">see how these rulers are used)</del>.</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">Below you can configure </del>the <del class="diffchange diffchange-inline">foreground and background colors for </del>the <del class="diffchange diffchange-inline">editor (sometimes useful for multi-colored icons)</del>. <del class="diffchange diffchange-inline">&quot;Render&quot; reflects your changes </del>in <del class="diffchange diffchange-inline">the font editor program itself</del>, <del class="diffchange diffchange-inline">and &quot;Save&quot; saves your changes into &lt;code&gt;font</del>.<del class="diffchange diffchange-inline">bz2&lt;/code&gt;</del>. <del class="diffchange diffchange-inline">On the bottom left there is a text field into which you can enter codepoints in hexadecimal</del>, and <del class="diffchange diffchange-inline">they will be rendered on the bottom right, this is </del>to <del class="diffchange diffchange-inline">test </del>what <del class="diffchange diffchange-inline">they look like among other text</del>.</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>&#160;</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">The font editor also supports some key bindings: Left and Right </del>to <del class="diffchange diffchange-inline">switch between characters; Shift-Left</del>, <del class="diffchange diffchange-inline">Right</del>, <del class="diffchange diffchange-inline">Up, Down </del>to <del class="diffchange diffchange-inline">shift </del>the <del class="diffchange diffchange-inline">current character </del>by <del class="diffchange diffchange-inline">1 pixel </del>in <del class="diffchange diffchange-inline">either direction; C to copy the current character and V to paste; Q to exit</del>.</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>&#160;</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">Once you</del>'<del class="diffchange diffchange-inline">re done with editing the font press &quot;Save&quot; and exit</del>. <del class="diffchange diffchange-inline">This </del>will <del class="diffchange diffchange-inline">update &lt;code&gt;font</del>.<del class="diffchange diffchange-inline">bz2&lt;/code&gt; so next time you compile TPT it will include your changes </del>to the <del class="diffchange diffchange-inline">font.</del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>&#160;</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">== Menu Icons ==</del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>&#160;</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">Defines </del>for <del class="diffchange diffchange-inline">the menu sections are located in &lt;code&gt;simulation/SimulationData.h&lt;/code&gt;. Take a look at &lt;code&gt;LoadMenus()&lt;/code&gt; in &lt;code&gt;simulation/SimulationData.cpp&lt;/code&gt;. The first column is the unicode codepoint for the icon, the second column </del>is <del class="diffchange diffchange-inline">the menu name. These are what you need to edit to create a new menu</del>.</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>&#160;</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">[[Category:Development]]</del></div></td><td colspan="2">&#160;</td></tr> </table> HerpesMaster11 https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&diff=8116&oldid=prev LBPHacker: Update to refer to meson and font.bz2 2021-06-25T06:01:31Z <p>Update to refer to meson and font.bz2</p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr style="vertical-align: top;" lang="en"> <td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 06:01, 25 June 2021</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Icons ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Icons ==</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>Any icons specific to The Powder Toy are allocated from the private use <del class="diffchange diffchange-inline">area </del>of unicode: U+E000 through U+F8FF. If you wish to add a new icon you should allocate it from that range.</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>Any icons specific to The Powder Toy are allocated from <ins class="diffchange diffchange-inline">one of </ins>the private use <ins class="diffchange diffchange-inline">areas </ins>of unicode: U+E000 through U+F8FF. If you wish to add a new icon you should allocate it from that range.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Compiling the font editor ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Compiling the font editor ==</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>The data for the font is specified in &lt;code&gt;data/font.<del class="diffchange diffchange-inline">cpp</del>&lt;/code&gt; but editing that file by hand is a bad idea. The TPT source comes with a graphical editor for this file<del class="diffchange diffchange-inline">.</del></div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>The data for the font is specified in &lt;code&gt;data/font.<ins class="diffchange diffchange-inline">bz2</ins>&lt;/code&gt; but editing that file by hand is a bad idea. The TPT source comes with a graphical editor for this file<ins class="diffchange diffchange-inline">, which you can </ins>build <ins class="diffchange diffchange-inline">by setting </ins>the &lt;code&gt;<ins class="diffchange diffchange-inline">build_font</ins>&lt;/code&gt; <ins class="diffchange diffchange-inline">option </ins>to <ins class="diffchange diffchange-inline">&lt;code&gt;true&lt;/code&gt;, as explained in [[Building TPT with Meson|the meson guide]]</ins>. This will produce an executable called &lt;code&gt;font&lt;/code&gt; or &lt;code&gt;<ins class="diffchange diffchange-inline">font.exe</ins>&lt;/code&gt;. You will have to pass the path to &lt;code&gt;data/font.<ins class="diffchange diffchange-inline">bz2</ins>&lt;/code&gt; to it as a <ins class="diffchange diffchange-inline">command line </ins>argument, e.g. &lt;code&gt;font.exe <ins class="diffchange diffchange-inline">..\</ins>data\font.<ins class="diffchange diffchange-inline">bz2</ins>&lt;/code&gt; or &lt;code&gt;build<ins class="diffchange diffchange-inline">\</ins>font<ins class="diffchange diffchange-inline">.exe </ins>data<ins class="diffchange diffchange-inline">\</ins>font.<ins class="diffchange diffchange-inline">bz2</ins>&lt;/code&gt;.</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>&#160;</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">To </del>build the <del class="diffchange diffchange-inline">font editor with scons, just pass </del>&lt;code&gt;<del class="diffchange diffchange-inline">--font</del>&lt;/code&gt; to <del class="diffchange diffchange-inline">scons</del>. This will produce an executable called &lt;code&gt;font&lt;/code&gt; or &lt;code&gt;<del class="diffchange diffchange-inline">font64</del>&lt;/code&gt;. You will have to pass the path to &lt;code&gt;data/font.<del class="diffchange diffchange-inline">cpp</del>&lt;/code&gt; to it as a <del class="diffchange diffchange-inline">commandline </del>argument, e.g. &lt;code&gt;<del class="diffchange diffchange-inline">build\</del>font.exe data\font.<del class="diffchange diffchange-inline">cpp</del>&lt;/code&gt; or &lt;code&gt;<del class="diffchange diffchange-inline">./</del>build<del class="diffchange diffchange-inline">/</del>font data<del class="diffchange diffchange-inline">/</del>font.<del class="diffchange diffchange-inline">cpp&lt;/code&gt;</del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>&#160;</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">If you're using a Visual Studio project then someone else should complete this guide for you... You can have some luck with configuring the preprocessor define &lt;code&gt;FONTEDITOR</del>&lt;/code&gt; <del class="diffchange diffchange-inline">across the project..</del>.</div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Editing the font ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Editing the font ==</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>After opening &lt;code&gt;font.<del class="diffchange diffchange-inline">cpp</del>&lt;/code&gt; using the font editor you will be presented with a GUI. The top part contains the character currently being edited. Below you can select the unicode codepoint you're currently looking at (in hexadecimal, or using the arrows), make the character wider or narrower, create or delete the character, toggle the grid and the rulers (take a look at several uppercase and lowercase characters, characters with lower hooks and accents, to see how these rulers are used).</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>After opening &lt;code&gt;font.<ins class="diffchange diffchange-inline">bz2</ins>&lt;/code&gt; using the font editor you will be presented with a GUI. The top part contains the character currently being edited. Below you can select the unicode codepoint you're currently looking at (in hexadecimal, or using the arrows), make the character wider or narrower, create or delete the character, toggle the grid and the rulers (take a look at several uppercase and lowercase characters, characters with lower hooks and accents, to see how these rulers are used).</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>Below you can configure the foreground and background colors for the editor (sometimes useful for multi-colored icons). &quot;Render&quot; reflects your changes in the font editor program itself, and &quot;Save&quot; saves your changes into &lt;code&gt;font.<del class="diffchange diffchange-inline">cpp</del>&lt;/code&gt;. On the bottom left there is a text field into which you can enter codepoints in hexadecimal, and they will be rendered on the bottom right, this is to test what they look like among other text.</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>Below you can configure the foreground and background colors for the editor (sometimes useful for multi-colored icons). &quot;Render&quot; reflects your changes in the font editor program itself, and &quot;Save&quot; saves your changes into &lt;code&gt;font.<ins class="diffchange diffchange-inline">bz2</ins>&lt;/code&gt;. On the bottom left there is a text field into which you can enter codepoints in hexadecimal, and they will be rendered on the bottom right, this is to test what they look like among other text.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The font editor also supports some key bindings: Left and Right to switch between characters; Shift-Left, Right, Up, Down to shift the current character by 1 pixel in either direction; C to copy the current character and V to paste; Q to exit.</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The font editor also supports some key bindings: Left and Right to switch between characters; Shift-Left, Right, Up, Down to shift the current character by 1 pixel in either direction; C to copy the current character and V to paste; Q to exit.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>Once you're done with editing the font press &quot;Save&quot; and exit. This will update &lt;code&gt;font.<del class="diffchange diffchange-inline">cpp</del>&lt;/code&gt; so next time you compile TPT it will include your changes to the font.</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>Once you're done with editing the font press &quot;Save&quot; and exit. This will update &lt;code&gt;font.<ins class="diffchange diffchange-inline">bz2</ins>&lt;/code&gt; so next time you compile TPT it will include your changes to the font.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Menu Icons ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Menu Icons ==</div></td></tr> <!-- diff cache key mediawiki-pw_:diff:version:1.11a:oldid:7615:newid:8116 --> </table> LBPHacker https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&diff=7615&oldid=prev mniip: mniip moved page How To Add an Icon to Menus to How to Add Characters and Icons to the Font 2020-03-10T00:38:07Z <p>mniip moved page <a href="/Wiki/W/How_To_Add_an_Icon_to_Menus.html" class="mw-redirect" title="How To Add an Icon to Menus">How To Add an Icon to Menus</a> to <a href="/Wiki/W/How_to_Add_Characters_and_Icons_to_the_Font.html" title="How to Add Characters and Icons to the Font">How to Add Characters and Icons to the Font</a></p> <table class="diff diff-contentalign-left" data-mw="interface"> <tr style="vertical-align: top;" lang="en"> <td colspan="1" style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan="1" style="background-color: white; color:black; text-align: center;">Revision as of 00:38, 10 March 2020</td> </tr><tr><td colspan="2" style="text-align: center;" lang="en"><div class="mw-diff-empty">(No difference)</div> </td></tr></table> mniip https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&diff=7614&oldid=prev mniip: Actualize to modern font format and font editor. 2020-03-10T00:36:58Z <p>Actualize to modern font format and font editor.</p> <a href="https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&amp;diff=7614&amp;oldid=6951">Show changes</a> mniip https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&diff=6951&oldid=prev wolfy1339: Edit the guide with updated instructions 2018-04-04T14:16:30Z <p>Edit the guide with updated instructions</p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr style="vertical-align: top;" lang="en"> <td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 14:16, 4 April 2018</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Defines for the menu sections are located in simulation/SimulationData.h. The names and icons are in LoadMenus() in simulation/SimulationData.cpp. These are what you need to edit to create a new menu.</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Defines for the menu sections are located in simulation/SimulationData.h. The names and icons are in LoadMenus() in simulation/SimulationData.cpp. These are what you need to edit to create a new menu.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>If you downloaded the <del class="diffchange diffchange-inline">legacy </del>source from Github, then you'll find a folder called font. If you look inside it, you'll see that there is packer.c, unpacker.c and editor.c<del class="diffchange diffchange-inline">. If you don't see it, then you either downloaded the C++ source code, or you deleted it somehow. If this is the case, then just download the legacy source code again from here: [https://github.com/FacialTurd/The-Powder-Toy/tree/legacy]</del>. The instructions for Windows and Linux are different, so be sure to follow the correct instructions.</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>If you downloaded the source from Github, then you'll find a folder called font. If you look inside it, you'll see that there is packer.c, unpacker.c and editor.c. The instructions for Windows and Linux are different, so be sure to follow the correct instructions.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Windows ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Windows ==</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''0)''' You will need GNU Make for the next step. You can download GNU Make from here: [https://www.gnu.org/software/make]</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''0)''' You will need GNU Make for the next step. You can download GNU Make from here: [https://www.gnu.org/software/make]</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>'''1)''' Get a copy of the <del class="diffchange diffchange-inline">old c source, and of the new source.&#160; The old source is in the legacy branch on github. Maybe the font editor will eventually be added to the new </del>source.</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>'''1)''' Get a copy of the source.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>'''2)''' Copy font.h from /data in the <del class="diffchange diffchange-inline">new </del>source and and paste it into /font <del class="diffchange diffchange-inline">from the old source</del></div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>'''2)''' Copy font.h from /data in the source and and paste it into /font</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''3)''' Navigate into /font, and open a Command Prompt here. Compile the font editor tools using the following commands:</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''3)''' Navigate into /font, and open a Command Prompt here. Compile the font editor tools using the following commands:</div></td></tr> <tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l67" >Line 67:</td> <td colspan="2" class="diff-lineno">Line 67:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Or otherwise when you compile &quot;The Powder Toy&quot; you will get errors with the Graphics.cpp</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Or otherwise when you compile &quot;The Powder Toy&quot; you will get errors with the Graphics.cpp</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>'''9)''' Copy the font.h into /data <del class="diffchange diffchange-inline">from the new source</del>, replacing the old one. &#160;</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>'''9)''' Copy the font.h into /data, replacing the old one. &#160;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''10)''' For your new menu, replace FF with the char id you remembered from step 5.</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''10)''' For your new menu, replace FF with the char id you remembered from step 5.</div></td></tr> <tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l77" >Line 77:</td> <td colspan="2" class="diff-lineno">Line 77:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Linux ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Linux ==</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del style="font-weight: bold; text-decoration: none;">'''0)''' This guide was written for the old tpt, font.h is in /data in the new source, not /includes, but the font editor is only in /font from the old source. Things won't work correctly, just copy font.h manually into /font and start from the end of step 2. The old source is in the legacy branch on github.</del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''1)''' Open a Terminal and ''cd'' to the /font directory that's included with the Git source code.</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''1)''' Open a Terminal and ''cd'' to the /font directory that's included with the Git source code.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> </table> wolfy1339 https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&diff=6060&oldid=prev DavidTheTech: /* Windows */ 2016-03-12T18:03:31Z <p>‎<span dir="auto"><span class="autocomment">Windows</span></span></p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr style="vertical-align: top;" lang="en"> <td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 18:03, 12 March 2016</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l29" >Line 29:</td> <td colspan="2" class="diff-lineno">Line 29:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Only use steps 7 and 8 if you downloaded the precompiled version (it's a bit out of date some icons will show different)</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Only use steps 7 and 8 if you downloaded the precompiled version (it's a bit out of date some icons will show different)</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''7)''' Rename stdout.txt to font.h</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''7)''' Rename stdout.txt to font.h</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> </table> DavidTheTech https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&diff=6059&oldid=prev DavidTheTech: /* Windows */ 2016-03-12T18:03:02Z <p>‎<span dir="auto"><span class="autocomment">Windows</span></span></p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr style="vertical-align: top;" lang="en"> <td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 18:03, 12 March 2016</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l25" >Line 25:</td> <td colspan="2" class="diff-lineno">Line 25:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''6)''' Close down the editor and run:</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''6)''' Close down the editor and run:</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang=&quot;bash&quot;&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang=&quot;bash&quot;&gt;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>packer.exe</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>packer.exe <ins class="diffchange diffchange-inline">&gt; font.h</ins></div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins style="font-weight: bold; text-decoration: none;">Only use steps 7 and 8 if you downloaded the precompiled version (it's a bit out of date some icons will show different)</ins></div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''7)''' Rename stdout.txt to font.h</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''7)''' Rename stdout.txt to font.h</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l65" >Line 65:</td> <td colspan="2" class="diff-lineno">Line 66:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Or otherwise when you compile &quot;The Powder Toy&quot; you will get errors with the Graphics.cpp</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Or otherwise when you compile &quot;The Powder Toy&quot; you will get errors with the Graphics.cpp</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div>'''9)''' Copy the font.h <del class="diffchange diffchange-inline">(you just fixed) </del>into /data from the new source, replacing the old one. &#160;</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div>'''9)''' Copy the font.h into /data from the new source, replacing the old one. &#160;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''10)''' For your new menu, replace FF with the char id you remembered from step 5.</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''10)''' For your new menu, replace FF with the char id you remembered from step 5.</div></td></tr> </table> DavidTheTech https://powdertoy.co.uk/Wiki/index.php?title=How_to_Add_Characters_and_Icons_to_the_Font&diff=6058&oldid=prev DavidTheTech: /* Windows */ 8 and 9 were "8)", "9)" not '"8)"', '"9)"' 2016-03-12T17:25:44Z <p>‎<span dir="auto"><span class="autocomment">Windows: </span> 8 and 9 were &quot;8)&quot;, &quot;9)&quot; not &#039;&quot;8)&quot;&#039;, &#039;&quot;9)&quot;&#039;</span></p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr style="vertical-align: top;" lang="en"> <td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 17:25, 12 March 2016</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l30" >Line 30:</td> <td colspan="2" class="diff-lineno">Line 30:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''7)''' Rename stdout.txt to font.h</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''7)''' Rename stdout.txt to font.h</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">&quot;</del>8)<del class="diffchange diffchange-inline">&quot; </del>Open font.h, at the top of the file you should see something like this</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">'''</ins>8)<ins class="diffchange diffchange-inline">''' </ins>Open font.h, at the top of the file you should see something like this</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang=&quot;c&quot;&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;syntaxhighlight lang=&quot;c&quot;&gt;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#ifndef FONT_H_CHECK</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#ifndef FONT_H_CHECK</div></td></tr> <tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l65" >Line 65:</td> <td colspan="2" class="diff-lineno">Line 65:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Or otherwise when you compile &quot;The Powder Toy&quot; you will get errors with the Graphics.cpp</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Or otherwise when you compile &quot;The Powder Toy&quot; you will get errors with the Graphics.cpp</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; 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;"><div><del class="diffchange diffchange-inline">&quot;</del>9)<del class="diffchange diffchange-inline">&quot; </del>Copy the font.h (you just fixed) into /data from the new source, replacing the old one. &#160;</div></td><td class='diff-marker'>+</td><td style="color:black; 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;"><div><ins class="diffchange diffchange-inline">'''</ins>9)<ins class="diffchange diffchange-inline">''' </ins>Copy the font.h (you just fixed) into /data from the new source, replacing the old one. &#160;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''10)''' For your new menu, replace FF with the char id you remembered from step 5.</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''10)''' For your new menu, replace FF with the char id you remembered from step 5.</div></td></tr> <!-- diff cache key mediawiki-pw_:diff:version:1.11a:oldid:6057:newid:6058 --> </table> DavidTheTech