GLBasic forum

Main forum => GLBasic - en => Topic started by: Marmor on 2015-Jan-10

Title: i need to know ...
Post by: Marmor on 2015-Jan-10
hi ,

where is the standard smalfont in the glb distribution locatet ?

and how to disable the adb call at the end from compiling for android ?

i need to skip the install on emu ore device because it hangs everytime on my win7 pro 64 bit.
and i hate the really small font and will it replace with my own without using the fontcreator all the time.

thx for help
Title: Re: i need to know ...
Post by: erico on 2015-Jan-10
I´d have to reinforce your first question!!
But here I love the smallfont and when I change it, I do for an even smaller one.

...but my thing is that MAC compiling seems not to read the standard smallfont at all, so my beta snippets show no fonts when running on mac.
That is bug isen´t it?
Title: Re: i need to know ...
Post by: Moru on 2015-Jan-10
If you have troubles loading any resources, check that you have the right casing. And one thing that always throws me off, if you use the built in font creator: make sure you don't correct the spelling of "smalfont" :-)

Unix-based os is case sensitive on filenames, windows is not.

If the built-in font is missing totally on mac (without loading a font that is), that would be a bug.
Title: Re: i need to know ...
Post by: spacefractal on 2015-Jan-10
Android Extras do not try to install using adb to avoid extractly this issue. ALso Android Extras is also now include few fixes for the internal commands so its being even more transperancy.

Personly im either allways used STDOUT and doing my own font system.
Title: Re: i need to know ...
Post by: Marmor on 2015-Jan-10
does anyone know where the smalfont is ? i mean the standard font which glb install between compiling.
Title: Re: i need to know ...
Post by: Schranz0r on 2015-Jan-10
C:\Program Files (x86)\GLBasic_v12\smalfont.bmp
Title: Re: i need to know ...
Post by: Marmor on 2015-Jan-10
ne , ne?

blindfisch dankt
Title: Re: i need to know ...
Post by: kanonet on 2015-Jan-10
Das ist nicht der richtige font.
Habe eine GLBasic exe mit reshack untersucht und kann die Fontdatei da nicht finden, möglicherweise ist der Font als code integriert und somit schwerer zu finden/ändern. Ein Blick in den GLBasic Source könnte Aufklärung geben.
Title: Re: i need to know ...
Post by: Marmor on 2015-Jan-10
richtig kanonet , gerade ausprobiert und fast verzeifelt  :rant:
Title: Re: i need to know ...
Post by: erico on 2015-Jan-10
Quote from: Moru on 2015-Jan-10
...
If the built-in font is missing totally on mac (without loading a font that is), that would be a bug.

That is the case.

Back on the location of it in windows, I once did all kind of searches and did not find it, not even on the glb folder.
The ones I found, if loaded normally, did not correspond to the internal one.
Title: Re: i need to know ...
Post by: Marmor on 2015-Jan-10
ok i renamed the adb.exe from platform tools and put a " i do nothing" adb.exe in.

this works now...

i can save and compile now in the dropbox folder , dropbox syncs and i can install the apk with the
dropbox app from android.

works like a charm , no much clicks  here and where and so on but no debugging possible.


Title: Re: i need to know ...
Post by: spacefractal on 2015-Jan-10
no need to rename adb.exe, and that version glbasic uses is from api-8. You can instead change it in glb_build.bat, which calls adb.exe in the end.

This was one of the issue im got very earily in Android Extras and dedicated only shown the path and file to get installed throught adb in the commando prompth manually.

Also with AE 2.5.2+, its now being more more integrated into the glbasic code its self to fix som of the most annoying issues.

Gernot will also soon uses the AE project giving in a future official version.
Title: Re: i need to know ...
Post by: Marmor on 2015-Feb-05
really nobody find the font file ?
Title: Re: i need to know ...
Post by: erico on 2015-Feb-07
 :D hehe, yep. I suspect it must be internal or has a different name. Hard to believe uh?
Title: Re: i need to know ...
Post by: Marmor on 2015-Feb-07
hehe you are right
Title: Re: i need to know ...
Post by: Kitty Hello on 2015-Feb-11
The default font is included in the source code (3x5px).

Gesendet von meinem GT-N7100 mit Tapatalk

Title: Re: i need to know ...
Post by: erico on 2015-Feb-11
Aha! I knew it!

Last time I looked for it, I decided to create my own with the inside tool.
It also didn´t work as the spaces looked different.