<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 17/08/2022 à 19:21, Juan Vuletich a
écrit :<br>
</div>
<blockquote type="cite" cite="mid:62FD2380.3040304@cuis.st"> btw, I
have no clue what -tracestores is about. Any docs?<br>
</blockquote>
<p>The VM -help gives little information:</p>
<p> -tracestores enable store tracing (assert check stores)<br>
</p>
<br>
<blockquote type="cite" cite="mid:62FD2380.3040304@cuis.st"> What
happens if you postpone the setup / startup of DrGeo to until the
GUI is ready? For example, instead of <br>
</blockquote>
<p>I emptied the DrGeo start up sequence, so the image can start and
an interesting error pop up. VectorCanvas tries to initialize
itself and it fails while searching for Deja Vu font. It results
VectorGraphics is not properly installed. For example Windows
can't be rotated.<br>
</p>
<p><font face="monospace">VectorCanvas class>>initialize<br>
| family folder |<br>
(Smalltalk at: #VectorEngineWithPlugin) isPluginAvailable
ifFalse: [<br>
Feature require: 'VectorEngineInSmalltalk' ].<br>
UISupervisor whenUIinSafeState: [<br>
(FontFamily familyNamed: FontFamily defaultFamilyName)
isTrueTypeFontFamily ifFalse: [<br>
folder _ DirectoryEntry smalltalkImageDirectory /
'TrueTypeFonts' / 'DejaVu' / 'DejaVuSans'.<br>
family _ FontFamily familyNamed: (TrueTypeFontFamily
read: folder) anyOne.<br>
PreferenceSet setDefaultFont: family familyName.<br>
FontFamily enableTrueTypeFontsOnly ].<br>
(VectorEngineWithPlugin isPluginAvailable<br>
ifTrue: [ MorphicCanvas activeSubclass: VectorCanvas
]<br>
ifFalse: [<br>
'VectorEnginePlugin (VM plugin) is not
available. HybridCanvas will be activated.' print.<br>
MorphicCanvas activeSubclass: HybridCanvas ]) ].</font><br>
</p>
<p><br>
</p>
<p>Of course this font folder arrangement is not found in the DrGeo
bundle, I have a different one. I could create the same but may be
we want something more flexible.</p>
<img moz-do-not-send="false"
src="cid:part1.0Or0DCNC.z06PcoCv@free.fr" alt="Two errors"
width="961" height="614">
<p><br>
</p>
<p>Now thinking again of the DrGeo start up sequence, it is mostly
font installation:</p>
<p><font face="monospace"> | fontFile |<br>
fontFile _ self fontPath // DrGeoSystem fontFile.<br>
TrueTypeFontFamily readTrueTypeFontEntry: fontFile.<br>
PreferenceSet setDefaultFont: DrGeoSystem fontName. <br>
Preferences at: #guiElementsSize put: #standardFonts</font><br>
</p>
<p>I will test it in UI deferred block.</p>
<p>Thanks</p>
<p>Hilaire<br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>