Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 03 Jul 2009 09:34:26 +0200
Hello,
I am very impressed by the possibilities of the Hollywood language , and of Designer
I am still "swimming" in some areas, eg fonts
I have (nearly) finished a first program in Hollywood It compiled seemingly ok for win32 on my wife's PC I had to change the fonts to make that possible, using the same fonts as the 'features presentation' in the Designer.Projects drawer. I am not sure if this is sufficient to make a program work on any PC. Are there good tutorials on PC and Amiga fonts, you could recommend?? Specific font questions:
- Could the PC fonts be added to the fontlist Designer provides? How?
- Where can you get 'standard' or preferred PC fonts?
Layers still confuse me a bit: Why is one layer assigned to each graphic element(this is what i undersood)? Wouldn't it be easier for moving a number of related ones together?
A Designer remark: I used the square 'speach bubble' (last tab in the dialog box for standard forms) This form seems to change when the designer script is run. Anybody notice that? ( i did some copy and paste and resized the copies, but did nothing imho that should heve this effect)
Easy standardised gui creation: Obviously this point in the Hollywood todo list is quiete important
What is the situation now?
- I visited the files section and downloaded classlib and JSP-gui
- The pdf doc of JSP-gui was not readable with Amipdf on my Sam, but was readable on my wife's PC. Still reading this. Not that easy ( i am a spoiled Gui4Cli user, but alas no functions nor tables, .. there)
- Is Classlib an other gui creation lib ? (Jan van der Baart?) I may have overlooked some documentation in the files section ?
- I also downloaded SCUI mentioned in the JSP doc. Seems easier to use and the examples worked out of the box. When compiled for Win32 the small fonts that were OK on OS4 were unreadable.
Plugins
- Is there any other plugin than 'malibu'
- How do you write plugins?
Thanks for your help and comments
Joseph
[03 Jul 2009] Newbee questions
-
Dwayne
[03 Jul 2009] Re: Newbee questions
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 03 Jul 2009 18:25:48 +1000
Hi Joseph,
I uploaded ClassLib to the file section but have not written much of any documentation for it (read none). It was an adapted LUA script to allow you to create object oriented tables and is not a GUI toolkit, nor is it used within Designer.
You would need to add it to your existing source code and utilise the table cuntions to create new object oriented tables.
If you are going to be working in Designer then ClassLib is not for you. Feel free to write me if you want further information if you decide to use this in your Hollywood scripts, but I should point out you will need to have a good understanding of the LUA language of which Hollywood is based upon.
Regards,
Dwayne
Hi Joseph,
I uploaded ClassLib to the file section but have not written much of any documentation for it (read none). It was an adapted LUA script to allow you to create object oriented tables and is not a GUI toolkit, nor is it used within Designer.
You would need to add it to your existing source code and utilise the table cuntions to create new object oriented tables.
If you are going to be working in Designer then ClassLib is not for you. Feel free to write me if you want further information if you decide to use this in your Hollywood scripts, but I should point out you will need to have a good understanding of the LUA language of which Hollywood is based upon.
Regards,
Dwayne
[03 Jul 2009] Re: Newbee questions
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 03 Jul 2009 10:47:43 -0000
Hi Joseph, I'm the person behind ScuiLib, actually it's still in beta but fully usable. If I've understood correctly what you have asked you want to change the fonts in all Gui elements. Right now you can do it editing manually the <Default_Standards.hws> file where all gui elements roots are defined, if you want you can edit a duplicate of this file and include it in your projects just after the ScuiLib include. I'm planning to add support function for massive font change for all gui elements. About OS4 "unreadble font" issue can you be more specific? The problem has come with one of the provided example? Which one?
Don't esitate to ask here or in the sdb forum ( http://sdb.freeforums.org/ )
In this thread ( http://sdb.freeforums.org/scui-work-in- ... 7-t39.html ) you can download a WIP version of the coming 0.7
Greets, Fabio
Hi Joseph, I'm the person behind ScuiLib, actually it's still in beta but fully usable. If I've understood correctly what you have asked you want to change the fonts in all Gui elements. Right now you can do it editing manually the <Default_Standards.hws> file where all gui elements roots are defined, if you want you can edit a duplicate of this file and include it in your projects just after the ScuiLib include. I'm planning to add support function for massive font change for all gui elements. About OS4 "unreadble font" issue can you be more specific? The problem has come with one of the provided example? Which one?
Don't esitate to ask here or in the sdb forum ( http://sdb.freeforums.org/ )
In this thread ( http://sdb.freeforums.org/scui-work-in- ... 7-t39.html ) you can download a WIP version of the coming 0.7
Greets, Fabio
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | ☆★ All my links ★☆
- TheMartian
- Posts: 109
- Joined: Sun Feb 28, 2010 12:51 pm
[03 Jul 2009] Re: Newbee questions
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 03 Jul 2009 17:41:41 -0000
Hi
Sorry to hear the PDF file was not readable in AmiPDF. I guess that is what happens with a Word Document translated by a Windows conversion program to PDF
It works in Windows but.... oh, well.
Anyway, if you need finished gadgets and stuff for your program there is no competition. Go for the SCUI thing. The JSP-Gui code I uploaded is however useful if you want to make your own gadgets. The gadgets included do not have the polish or the many capabilities of SCUI. They are there for demonstration purposes. However once you get the hang of the particular coding style I used, you may find that you can create new working gadgets in a few hours of coding that integrates among the gadgets I provided.
regards Jesper
Hi
Sorry to hear the PDF file was not readable in AmiPDF. I guess that is what happens with a Word Document translated by a Windows conversion program to PDF
Anyway, if you need finished gadgets and stuff for your program there is no competition. Go for the SCUI thing. The JSP-Gui code I uploaded is however useful if you want to make your own gadgets. The gadgets included do not have the polish or the many capabilities of SCUI. They are there for demonstration purposes. However once you get the hang of the particular coding style I used, you may find that you can create new working gadgets in a few hours of coding that integrates among the gadgets I provided.
regards Jesper
[03 Jul 2009] Re: Newbee questions
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 03 Jul 2009 19:13:23 -0000
Hi Jesper Well it reads OK on my MicroA1 via AmiPDF ( version 1.24) maybe its slightly different on the Sam, maybe Joseph can rename it to something shorter Regards Andy
Hi Jesper Well it reads OK on my MicroA1 via AmiPDF ( version 1.24) maybe its slightly different on the Sam, maybe Joseph can rename it to something shorter Regards Andy
[03 Jul 2009] Re: Newbee questions
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 03 Jul 2009 23:16:30 +0200
Hello,
Hello,
It works well with the last AmigaPDF which is 1.25 (08-11-2008). It may be a beta component not yet released...Sorry to hear the PDF file was not readable in AmiPDF.
- airsoftsoftwair
- Posts: 5834
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[05 Jul 2009] Re: Newbee questions
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 05 Jul 2009 12:10:21 +0200

So here it is again, Hollywood supports two font types:
1) Amiga bitmap fonts: these are the ones that have a .font descriptor file AND a corresponding directory containing bitmaps for the different font sizes. An Amiga bitmap font will look like this:
Amiga bitmap fonts do not need to be installed. You can simply copy them to FONTS: or you can copy them into a directory called "Fonts" that must reside in your program's directory. As Mac OS and Windows don't have a "FONTS:" assign, you need to create a directory called "Fonts" in your program's directory. E.g., to use the goudyb font in your Windows program, copy them to a subdirectory in your program's path:
2) The other font type is the TrueType font. TrueType fonts are entirely different from bitmap fonts and have to be installed first. On OS4, you need to use the TypeManager program that comes with OS4. MorphOS and AROS users need to use FTManager. Once you have installed the TrueType font, you can use it in Hollywood. On Windows & Mac OS you also have to install TrueType fonts before you can use them. Under Windows, you can simply double-click on the .TTF file and click on install.
***
Now the good news is that the next Hollywood will have a @FONT preprocessor command which allows you to link all fonts right into the applet/executable. Then all font worries will be gone
To circumvent this problem, use a bitmap font that doesn't have an equivalent under Windows (for example XHelvetica or XEN).
I should really add a font FAQ to the next Hollywood because the font stuff really seems to confuse peopleHello,
I am very impressed by the possibilities of the Hollywood language , and of Designer
I am still "swimming" in some areas, eg fonts
I have (nearly) finished a first program in Hollywood It compiled seemingly ok for win32 on my wife's PC I had to change the fonts to make that possible, using the same fonts as the 'features presentation' in the Designer.Projects drawer. I am not sure if this is sufficient to make a program work on any PC. Are there good tutorials on PC and Amiga fonts, you could recommend?? Specific font questions: - Could the PC fonts be added to the fontlist Designer provides? How? - Where can you get 'standard' or preferred PC fonts?
So here it is again, Hollywood supports two font types:
1) Amiga bitmap fonts: these are the ones that have a .font descriptor file AND a corresponding directory containing bitmaps for the different font sizes. An Amiga bitmap font will look like this:
Code: Select all
FONTS:goudyb.font
FONTS:goudyb/23
FONTS:goudyb/48
Code: Select all
C:\Program Files\MyCoolProgram\MyCoolProgram.exe
C:\Program Files\MyCoolProgram\Fonts\goudyb.font
C:\Program Files\MyCoolProgram\Fonts\goudyb/23
C:\Program Files\MyCoolProgram\Fonts\goudyb/48
***
Now the good news is that the next Hollywood will have a @FONT preprocessor command which allows you to link all fonts right into the applet/executable. Then all font worries will be gone
That would lead to problems because the layer would then become a sort of hybrid type (e.g. a text layer grouped with a brush layer --> what shall happen if SetLayerStyle() is called? shall it affect the text layer or the brush layer?). That's confusing... thus, layers are always limited to ONE type.Layers still confuse me a bit: - Why is one layer assigned to each graphic element(this is what i undersood)? Wouldn't it be easier for moving a number of related ones together?
Hmm, I need a more detailed description how to reproduce this error. Then I can check if it happens here too.A Designer remark: - I used the square 'speach bubble' (last tab in the dialog box for standard forms) This form seems to change when the designer script is run. Anybody notice that? ( i did some copy and paste and resized the copies, but did nothing imho that should heve this effect)
Yes, that's a known problem with Hollywood 4.0. The problem is that SCUILib uses the helvetica bitmap font but under Windows, there's also a helvetica TrueType font. The problem with Hollywood 4.0 is that it searches for TrueType fonts first, and then for bitmap fonts. This is wrong behaviour... it must search for bitmap fonts in the program's directory first and only if there's no bitmap font it should check the TrueType fonts. This will be fixed in the next version.Easy standardised gui creation: - Obviously this point in the Hollywood todo list is quiete important
What is the situation now?
- I visited the files section and downloaded classlib and JSP-gui - The pdf doc of JSP-gui was not readable with Amipdf on my Sam, but was readable on my wife's PC. Still reading this. Not that easy ( i am a spoiled Gui4Cli user, but alas no functions nor tables, .. there) - Is Classlib an other gui creation lib ? (Jan van der Baart?) I may have overlooked some documentation in the files section ? - I also downloaded SCUI mentioned in the JSP doc. Seems easier to use and the examples worked out of the box. When compiled for Win32 the small fonts that were OK on OS4 were unreadable.
To circumvent this problem, use a bitmap font that doesn't have an equivalent under Windows (for example XHelvetica or XEN).
- airsoftsoftwair
- Posts: 5834
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[06 Jul 2009] Re: Newbee questions
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 06 Jul 2009 11:08:48 +0200
Addendum: What confuses further is that under Mac OS, TrueType fonts are always case sensitive. Thus, doing a SetFont("arial", 36) won't work... it has to be SetFont("Arial", 36).I should really add a font FAQ to the next Hollywood because the font stuff really seems to confuse people![]()