I'm making use of imgui.SetGlobalFontFromFileTTF("gfx/JAi.ttf", 14) which is working fine when running in ZeroBrane Studio. Sadly, as soon as I make an .exe file and run it, it ignores the font and uses the default one. How could I change this behaviour?
Search found 20 matches
- Tue Jun 26, 2018 7:57 am
- Forum: Libraries and Tools
- Topic: ImGui LÖVE module
- Replies: 169
- Views: 268974
- Sun Jun 24, 2018 11:28 pm
- Forum: Support and Development
- Topic: Prevent freezing while working with large files?
- Replies: 28
- Views: 22163
Re: Prevent freezing while working with large files?
Oh yeah, that did speed up everything a lot. Thanks to all of you 

- Sat Jun 23, 2018 10:55 pm
- Forum: Support and Development
- Topic: Prevent freezing while working with large files?
- Replies: 28
- Views: 22163
Re: Prevent freezing while working with large files?
Updating love helped a lot, reading just takes several seconds now :D Sadly, when I try to manipulate and rewrite the files now, it's getting super slow again :| love.filesystem.append single lines and also love.filesystem.write a huge string variable are unusable. I know writing to a table and just...
- Sat Jun 23, 2018 10:13 pm
- Forum: Libraries and Tools
- Topic: ImGui LÖVE module
- Replies: 169
- Views: 268974
Re: ImGui LÖVE module
Nice! Thanks alot 

- Sat Jun 23, 2018 10:52 am
- Forum: Libraries and Tools
- Topic: ImGui LÖVE module
- Replies: 169
- Views: 268974
Re: ImGui LÖVE module
Are there any Love 11.1 binaries out there? For some reason, I'm unable to finish the build process. Cloning and CMake work fine but nmake can't find a makefile and opening the project in VS spits out a lot of errors when trying to compile.
- Wed Jun 20, 2018 10:47 am
- Forum: Support and Development
- Topic: Prevent freezing while working with large files?
- Replies: 28
- Views: 22163
Re: Prevent freezing while working with large files?
Ah, yeah I'm using 0.10.2, meh 
Will give it a try with 11.1 tomorrow.

Will give it a try with 11.1 tomorrow.
- Wed Jun 20, 2018 10:12 am
- Forum: Support and Development
- Topic: Prevent freezing while working with large files?
- Replies: 28
- Views: 22163
Re: Prevent freezing while working with large files?
Yeah, I know it's not meant for this. But I try to solve tasks I think are relatively simple with lua/love to get used to the framework, imgui design and lua in general. A friend of mine is working on a machine learning engine and I will provide dev tools and ui frontend for a game using it later (o...
- Wed Jun 20, 2018 9:48 am
- Forum: Support and Development
- Topic: Prevent freezing while working with large files?
- Replies: 28
- Views: 22163
Re: Prevent freezing while working with large files?
Well, at least in VB.net I do kinda the same, using the same files to read. Dim DataFiles() As String = IO.Directory.GetFiles("data", "*.sav") For iFiles = 0 To DataFiles.Length - 1 Dim Lines() As String = IO.File.ReadAllLines(DataFiles(iFiles)) For iLines = 0 To Lines.Length - 1...
- Wed Jun 20, 2018 9:08 am
- Forum: Support and Development
- Topic: Prevent freezing while working with large files?
- Replies: 28
- Views: 22163
Re: Prevent freezing while working with large files?
I guess the issue is working with the file itself. When using other languages, I just load the whole file into an array and save it after work is done. Guess using FileData = love.filesystem.read(File) doesn't do the trick with lua/love since it's the same speed als love.filesystem.lines
- Wed Jun 20, 2018 7:21 am
- Forum: Support and Development
- Topic: Prevent freezing while working with large files?
- Replies: 28
- Views: 22163
Re: Prevent freezing while working with large files?
I've never said I need to read it line by line, also as I wrote earlier today, I've also tried working with the whole file as FileData which didn't boost the performance. Afaik, love.filesystem.lines and love.filesystem.read are the only options, according to the wiki. Also, I don't do a 0 to 100 th...