Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 8 Apr 2011 10:02:52 +0200 (CEST)
Thanks for the response. Unfortunately my own reply on your response was rejected because I wrote it from my work's email account.
However, my presentation is over now and went very well. I even got some inqueries what a cool presentation software i used. Someone thought indeed it's Latex's beamer package + some nasty animation tricks

So, at least from the presentation software everything was perfect
However, most people thought I'm crazy as I told them that i programmed my own presentations application using Hollywood. They were even more puzzled after mentioning that everything runs on AmigaOS3 in an emulation environment via euae on Linux

At least they showed some relief after telling them that everything can also be done on windows

I think some of the people in the audience didn't even know what an Amiga is
But back to the problem. The difference in my code from your code snippet below is, that i specify the path to the true/open type font explicitly:
Code: Select all
Const #DEFFONTSIZE = 24
Const #DEFFONTFAM = "sys:projects/fonts/_OpenType/cm-unicode-0.6.3a/cmunss.otf"
SetFont(#DEFFONTFAM,#DEFFONTSIZE,{Engine=#FONTENGINE_INBUILT})
SetFontStyle(#ANTIALIAS)
Afterwards, when trying to scale the font (during event handling):
Code: Select all
Local fsize=msg.userdata.layerGroup.fontsize*yfactor
;initially, yfactor is 1 and msg.userdata.layerGroup.fontsize is 24,
; so no scalling happens at all
SetLayerStyle(msg.userdata.layerGroup[i],{Y=newY,X=newX,FontSize=fsize})
then, I receive that afore mentioned error about hollywood not being able to open the font at size 24.
I'll try to construct an simple example like yours this weekend and see if the problem then arises, too. However, it's weired, because the same code worked some time ago (maybe only with Hollywood 4.5 not 4.7).
here's an example of a very early version (sorry for all the copy & paste typos in that video

):
http://www.youtube.com/watch?v=klY2VIFFCAU
It shows that font scaling works nicely.
Anyway, thanks for this really cool piece of software, Andreas

I really enjoy to program a presentation instead of using plain latex or even worse, powerpoint
At some time, i have to check Designer 3.0 (of course, i bought it already). Maybe, it can help me to reduce the cost (in time) of visualizing certain things in my presentations. I have the hope in mind, that i simply can copy the code from Designer into that part of my hwbeamer package that defines "the next slide"
One issue that Designer maybe cannot handle is that position and the size of objects should be relative to the window/screen resolutions? This is important for switching from lower to higher resolutions. At the moment, I can do that easily with hwbeamer
Oh, and I have a feature request: Please rework the drawing algorithm of cycles

They don't always look good but seem to have gaps
cheers, Tom