FB_GUI V1.20.5 (New Release Dec 19, 2019)
-
- Posts: 489
- Joined: Apr 18, 2008 4:09
- Location: Los Angeles, CA
- Contact:
-
- Posts: 489
- Joined: Apr 18, 2008 4:09
- Location: Los Angeles, CA
- Contact:
FB_GUI_V1.13 is now available
http://sites.google.com/site/freebasicgui/Home
http://sites.google.com/site/freebasicgui/Home
-
- Posts: 489
- Joined: Apr 18, 2008 4:09
- Location: Los Angeles, CA
- Contact:
FB_GUI_V1.14 is now available
http://sites.google.com/site/freebasicgui/Home
http://sites.google.com/site/freebasicgui/Home
-
- Posts: 489
- Joined: Apr 18, 2008 4:09
- Location: Los Angeles, CA
- Contact:
Is there a way that can be posibille run FB GUI without freetype.dll?
I think that makes no sense that GUI framework need only one type
of font for work is'nt?
I download FBGUI and i can't run examples becose app tell me that i dont have font called verasans.ttf where i can find this font?
Oh ok i find ,doenload vera.ttf and put this font in same folder where are
examples and also put in same folder freetype.dll but examples refuse to work? It seems that path not recognised?
'--------------------------------------------------------
Oh my i dont see this:
1. Required files.
FB_GUI_Lib.Bas must be in the FreeBasic \Inc\FB_GUI folder
FB_GUI.BI must be in the FreeBasic \Inc folder
VERA.TTF must be in the C:\Windows\Fonts folder
FreeType6.Dll must be in Windows\System32 folder
zlib.dll must be in Windows\System32 folder
'------------------------------------------------------------------------------
I think that this solution is not good.
So is there a way that example program automaticly find
startpath of required files, this will be then OK.?
I'm interested for FBGUI becose i think about posibility to add this GUI
as GUI framework for YaBasic ...
all best
Aurel
I think that makes no sense that GUI framework need only one type
of font for work is'nt?
I download FBGUI and i can't run examples becose app tell me that i dont have font called verasans.ttf where i can find this font?
Oh ok i find ,doenload vera.ttf and put this font in same folder where are
examples and also put in same folder freetype.dll but examples refuse to work? It seems that path not recognised?
'--------------------------------------------------------
Oh my i dont see this:
1. Required files.
FB_GUI_Lib.Bas must be in the FreeBasic \Inc\FB_GUI folder
FB_GUI.BI must be in the FreeBasic \Inc folder
VERA.TTF must be in the C:\Windows\Fonts folder
FreeType6.Dll must be in Windows\System32 folder
zlib.dll must be in Windows\System32 folder
'------------------------------------------------------------------------------
I think that this solution is not good.
So is there a way that example program automaticly find
startpath of required files, this will be then OK.?
I'm interested for FBGUI becose i think about posibility to add this GUI
as GUI framework for YaBasic ...
all best
Aurel
-
- Posts: 489
- Joined: Apr 18, 2008 4:09
- Location: Los Angeles, CA
- Contact:
@ Bethell
To run one of the exe examples (Windows only), you must have
VERA.TTF in the C:\Windows\Fonts folder
FreeType6.Dll in Windows\System32 folder
zlib.dll in Windows\System32 folder
These are required to support the custom font features from the freebasic extended library. The dlls and TTF files are available at the FB_GUI site.
@ Aston
The issues you mention all relate to the use of custom fonts. I lot of effort went in to adding this feature.. because you cannot assume the size of a character string on the screen. You will notice that many GUI packages in FB are restricted to only use the standard font (ie. default with draw_string).
I have not been completely satisfied with the FB_ext lib fonts.. you wil notice a few glitches in rendering the font glyphs (but I greatly appreciate the work of others). If I had to do it all over again, I would have used xFont. I am still considering a conversion to xFont, which is why I haven't cleaned up some of the inconveniences of installation.
thanks for your interest.
To run one of the exe examples (Windows only), you must have
VERA.TTF in the C:\Windows\Fonts folder
FreeType6.Dll in Windows\System32 folder
zlib.dll in Windows\System32 folder
These are required to support the custom font features from the freebasic extended library. The dlls and TTF files are available at the FB_GUI site.
@ Aston
The issues you mention all relate to the use of custom fonts. I lot of effort went in to adding this feature.. because you cannot assume the size of a character string on the screen. You will notice that many GUI packages in FB are restricted to only use the standard font (ie. default with draw_string).
I have not been completely satisfied with the FB_ext lib fonts.. you wil notice a few glitches in rendering the font glyphs (but I greatly appreciate the work of others). If I had to do it all over again, I would have used xFont. I am still considering a conversion to xFont, which is why I haven't cleaned up some of the inconveniences of installation.
thanks for your interest.
Thanks to you but you dont undrstand me.
I say that this part is not good at all becose user must copy files inside
system32 folder?
this:
VERA.TTF in the C:\Windows\Fonts folder
FreeType6.Dll in Windows\System32 folder
zlib.dll in Windows\System32 folder
So i dont know but i think that FreeBasic have command such as
Setstartpath or getstartpath or something similiar and on this way
this files can be inside same folder where are examples.
do you get me now?
I hope that i dont whish to much!
And i hope that is posibile is'nt?
I say that this part is not good at all becose user must copy files inside
system32 folder?
this:
VERA.TTF in the C:\Windows\Fonts folder
FreeType6.Dll in Windows\System32 folder
zlib.dll in Windows\System32 folder
So i dont know but i think that FreeBasic have command such as
Setstartpath or getstartpath or something similiar and on this way
this files can be inside same folder where are examples.
do you get me now?
I hope that i dont whish to much!
And i hope that is posibile is'nt?
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
hello aston
you are right all files can be in the same folder as your compiled exe
but you must add the folder to the systems search path.
DriveLetter:\MyFolder\MyApp.exe
set PATH=DriveLetter\MyFolder;%PATH%
But many other programs (all gtk apps etc.) need's zlib1.dll and freetype6.dll
so Drive:\Windows\System32\ are the primary choice.
i would put all my fonts to Drive:\Windows\Fonts
Joshy
you are right all files can be in the same folder as your compiled exe
but you must add the folder to the systems search path.
DriveLetter:\MyFolder\MyApp.exe
set PATH=DriveLetter\MyFolder;%PATH%
But many other programs (all gtk apps etc.) need's zlib1.dll and freetype6.dll
so Drive:\Windows\System32\ are the primary choice.
i would put all my fonts to Drive:\Windows\Fonts
Joshy
Joshy i understand you perfectly and of course i know that many other
programs use this files but ( big BUT) from my point of view is not very
good idea puting files inside windows system folder isn't.
I prefer always if is application portable like this one put all needed files in
one folder where exe is.
On this way you have untached windows system folder and i see that
many programmers do programs on that way becose is primary better
choice.
programs use this files but ( big BUT) from my point of view is not very
good idea puting files inside windows system folder isn't.
I prefer always if is application portable like this one put all needed files in
one folder where exe is.
On this way you have untached windows system folder and i see that
many programmers do programs on that way becose is primary better
choice.
-
- Posts: 489
- Joined: Apr 18, 2008 4:09
- Location: Los Angeles, CA
- Contact:
-
- Posts: 489
- Joined: Apr 18, 2008 4:09
- Location: Los Angeles, CA
- Contact:
Many new changes. FB_GUI No longer requires DLLs be loaded for special font generation. GFX fonts from FB Extended Library have now all been replace with xFont.
FB_GUI_V1.20 is now available
http://sites.google.com/site/freebasicgui/Home
FB_GUI_V1.20 is now available
http://sites.google.com/site/freebasicgui/Home