<div dir="ltr"><br><div class="GmSign">-- <br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, May 2, 2017 at 4:03 PM H. Hirzel <<a href="mailto:hannes.hirzel@gmail.com">hannes.hirzel@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you for the load script<br>
<br>
<br>
Metacello new<br>
baseline: 'Scamper';<br>
repository: 'github://HPI-SWA-Teaching/Scamper:dev/packages';<br>
onConflict: [:ex | ex allow];<br>
load<br>
<br>
It loads fine. Both in Squeak 5.1-release and Squeak6.0a-17230<br>
<br>
Then I did<br>
<br>
Scamper initialize.<br>
<br>
And<br>
<br>
Scamper open<br>
<br>
or<br>
<br>
Scamper openOnUrl: '<a href="http://wiki.squeak.org/squeak/6572" rel="noreferrer" target="_blank">http://wiki.squeak.org/squeak/6572</a>'<br>
<br>
<br>
But I get an error [1].<br>
<br>
Do I need to load a particular font package as well?<br></blockquote><div><br></div><div>Looks like you need to copy the fonts and scamper-icons directories next to your image:</div><div><a href="https://github.com/HPI-SWA-Teaching/Scamper/tree/dev/build-support">https://github.com/HPI-SWA-Teaching/Scamper/tree/dev/build-support</a><br></div><div> </div><div>Fabio</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
--Hannes<br>
<br>
<br>
///////////////////////////////////////////////////////////////////////////////////////////////////////////////<br>
<br>
2 May 2017 4:01:34.430728 pm<br>
<br>
VM: unix - Smalltalk<br>
Image: Squeak5.1 [latest update: #16549]<br>
<br>
SecurityManager state:<br>
Restricted: false<br>
FileAccess: true<br>
SocketAccess: true<br>
Working Dir /media/user/data-ext4/Smtk/2017-04-27_Sq5.1-release_Seaside_loaded_Scamper/Squeak5.1-16549-32bit-All-in-One.app/Contents/Resources<br>
Trusted Dir /media/user/data-ext4/Smtk/2017-04-27_Sq5.1-release_Seaside_loaded_Scamper/Squeak5.1-16549-32bit-All-in-One.app/Contents/Resources/secure<br>
Untrusted Dir /media/user/data-ext4/Smtk/2017-04-27_Sq5.1-release_Seaside_loaded_Scamper/Squeak5.1-16549-32bit-All-in-One.app/Contents/Resources/My<br>
Squeak<br>
<br>
StrikeFont(Object)>>doesNotUnderstand: #initialize:<br>
Receiver: <<error during printing>><br>
Arguments and temporary variables:<br>
aMessage: initialize: a StrikeFont(Bitmap DejaVu Sans 7 10)<br>
exception: MessageNotUnderstood: StrikeFont>>initialize:<br>
resumeValue: nil<br>
Receiver's instance variables:<br>
characterToGlyphMap: nil<br>
xTable: nil<br>
glyphs: nil<br>
name: nil<br>
type: nil<br>
minAscii: nil<br>
maxAscii: nil<br>
maxWidth: nil<br>
strikeLength: nil<br>
ascent: nil<br>
descent: nil<br>
xOffset: nil<br>
raster: nil<br>
subscript: nil<br>
superscript: nil<br>
emphasis: nil<br>
derivativeFonts: nil<br>
pointSize: nil<br>
fallbackFont: nil<br>
charIndexCompatibilitySlot: nil<br>
<br>
TextStyle>>addNewFontSize:<br>
Receiver: a TextStyle Bitmap DejaVu Sans 9<br>
Arguments and temporary variables:<br>
pointSize: 18<br>
f: nil<br>
newArray: nil<br>
t: nil<br>
isSet: false<br>
fonts: nil<br>
d: #(nil)<br>
Receiver's instance variables:<br>
fontArray: {a StrikeFont(Bitmap DejaVu Sans 7 10) . a<br>
StrikeFont(Bitmap DejaVu ...etc...<br>
fontFamilySize: nil<br>
lineGrid: 12<br>
baseline: 10<br>
alignment: 0<br>
firstIndent: 0<br>
restIndent: 0<br>
rightIndent: 0<br>
tabsArray: #(24 48 72 96 120 144 168 192 216 240 264 288 312 336<br>
360 384 408 43...etc...<br>
marginTabsArray: #(#(24 24) #(48 48) #(72 72) #(96 96) #(120 120)<br>
#(144 144) #(...etc...<br>
leading: 2<br>
defaultFontIndex: 2<br>
<br>
[] in DHtmlFormatter>>fontWith:and:<br>
Receiver: a DHtmlFormatter<br>
Arguments and temporary variables:<br>
<<error during printing><br>
Receiver's instance variables:<br>
browser: nil<br>
baseUrl: nil<br>
outputStream: an AttributedTextStream<br>
preformattedLevel: 0<br>
indentLevel: 0<br>
urlLink: nil<br>
listLengths: an OrderedCollection()<br>
listStyleTypes: an OrderedCollection()<br>
listTypes: an OrderedCollection()<br>
precedingSpaces: 0<br>
precedingNewlines: 1000<br>
morphsToEmbed: an OrderedCollection()<br>
incompleteMorphs: an OrderedCollection()<br>
fontSpecs: nil<br>
<br>
Array(Collection)>>detect:ifNone:<br>
Receiver: {a StrikeFont(Bitmap DejaVu Sans 7 10) . a<br>
StrikeFont(Bitmap DejaVu Sans 9 14) . a StrikeFont...etc...<br>
Arguments and temporary variables:<br>
aBlock: [closure] in DHtmlFormatter>>fontWith:and:<br>
exceptionBlock: [closure] in DHtmlFormatter>>fontWith:and:<br>
Receiver's instance variables:<br>
{a StrikeFont(Bitmap DejaVu Sans 7 10) . a StrikeFont(Bitmap DejaVu<br>
Sans 9 14) . a StrikeFont...etc...<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 5/2/17, Fabio Niephaus <<a href="mailto:lists@fniephaus.com" target="_blank">lists@fniephaus.com</a>> wrote:<br>
> --<br>
><br>
> On Tue, May 2, 2017 at 2:48 PM H. Hirzel <<a href="mailto:hannes.hirzel@gmail.com" target="_blank">hannes.hirzel@gmail.com</a>> wrote:<br>
><br>
>> And it would be nice to have a short report on which kinds of subset<br>
>> of HTML Scamper runs fine.<br>
>><br>
>> Thanks for this<br>
>><br>
>><br>
>> <a href="https://github.com/HPI-SWA-Teaching/Scamper/blob/dev/wikiImages/rendering%20pipe.PNG" rel="noreferrer" target="_blank">https://github.com/HPI-SWA-Teaching/Scamper/blob/dev/wikiImages/rendering%20pipe.PNG</a><br>
>><br>
>> (attached)<br>
>><br>
>> For example a couple of static HTML/CSS pages in<br>
>> <a href="https://github.com/HPI-SWA-Teaching/Scamper/tree/dev/tests" rel="noreferrer" target="_blank">https://github.com/HPI-SWA-Teaching/Scamper/tree/dev/tests</a><br>
>><br>
>><br>
>><br>
>> On 5/2/17, H. Hirzel <<a href="mailto:hannes.hirzel@gmail.com" target="_blank">hannes.hirzel@gmail.com</a>> wrote:<br>
>> > Hello<br>
>> ><br>
>> > Assuming I have installed Metacello, how do I install the Scamper web<br>
>> > browser?<br>
>> ><br>
>> > <a href="https://github.com/HPI-SWA-Teaching/Scamper/tree/dev" rel="noreferrer" target="_blank">https://github.com/HPI-SWA-Teaching/Scamper/tree/dev</a><br>
><br>
><br>
> This should work:<br>
><br>
> Metacello new<br>
> baseline: 'Scamper';<br>
> repository: 'github://HPI-SWA-Teaching/Scamper:dev/packages';<br>
> onConflict: [:ex | ex allow];<br>
> load<br>
><br>
><br>
>> ><br>
>> > Regards<br>
>> > --Hannes<br>
>> ><br>
>><br>
>><br>
><br>
<br>
</blockquote></div></div>