#gemrb@irc.freenode.net logs for 11 Jan 2016 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[04:20:32] <-- mcphail has left IRC (Ping timeout: 260 seconds)
[04:22:28] --> mcphail has joined #gemrb
[04:22:28] <-- mcphail has left IRC (Changing host)
[04:22:28] --> mcphail has joined #gemrb
[04:51:51] <-- PixelScum has left IRC (Ping timeout: 255 seconds)
[04:52:32] --> Drakkar has joined #gemrb
[06:23:43] <-- Lightkey has left IRC (Ping timeout: 250 seconds)
[06:36:29] --> Lightkey has joined #gemrb
[06:48:01] <-- Drakkar has left IRC (Ping timeout: 240 seconds)
[08:45:19] --> Drakkar has joined #gemrb
[08:49:35] <-- edheldil has left IRC (Ping timeout: 260 seconds)
[09:01:20] --> edheldil has joined #gemrb
[09:01:21] --- ChanServ gives channel operator status to edheldil
[10:05:12] <-- exultbot has left IRC (signing off...)
[10:06:34] --> exultbot has joined #gemrb
[10:06:34] --- Topic for #gemrb is: GemRB 0.8.3 | http://gemrb.org | Something wrong? State your exact version and CHECK THE GEMRB LOG | Be wary of your thoughts for there are Illithid present: http://log.usecode.org/gemrblog.php
[10:06:34] --- Topic for #gemrb set by lynxlynxlynx!~quassel@sourcemage/warlock/lynxlynxlynx at Fri Jul 24 20:00:30 2015
[11:16:11] --> phao has joined #gemrb
[11:26:07] <-- phao has left IRC (Quit: Leaving)
[11:26:34] --> phao has joined #gemrb
[15:44:32] --> lich-li has joined #gemrb
[19:06:55] --> Eli2 has joined #gemrb
[19:09:04] <-- Eli2_ has left IRC (Ping timeout: 250 seconds)
[19:59:35] --> janisozaur has joined #gemrb
[20:00:56] <janisozaur> hi
[20:01:44] <janisozaur> i haven't used gemrb yet, but i am a programmer. I was following progress of gemrb and i know you guys had quite a big rewrite of font/text engine a whila ago
[20:02:00] <janisozaur> do you have any writeups on what was done and why?
[20:02:57] <janisozaur> I realise I could just read the code, but I remember it being a rather large thing, so without prior understanding of the architecture and issues it had it would be hard
[20:08:57] --> brada has joined #gemrb
[20:09:10] <brada> janisozaur: what do you want to know?
[20:09:34] <brada> I did most if not all of that, but it was long ago now...
[20:10:34] <janisozaur> i'm particularily interested if you had bitmap fonts and if the new text engine supports hidpi any better. if yes, what were the issues you faced and how did you solve them?
[20:10:54] <brada> thats kind of a vague question :p
[20:11:12] <brada> yes we still use the bitmap fonts that come with the games + TTF fonts
[20:12:45] <brada> anything related to high dpi isnt really font specific... so no its not really any better in those regards
[20:14:00] <janisozaur> were the original games palletted (indexed, i mean the surfaces and textures drawn)?
[20:14:40] <brada> yes, as is gemrb
[20:14:53] <brada> even the TTF fonts
[20:15:24] <janisozaur> so there is no antialiasing applied to them?
[20:17:08] <brada> certainly not for the BAM (bitmap) fonts. i dont recall if the TTF plugin does anything
[20:17:32] <brada> TTF uses libFreetype to render the glyphs into bitmaps, so if libfreetype does/can do antialiasing then its possible
[20:18:03] <janisozaur> but not with indexed surfaces, surely?
[20:18:15] <janisozaur> unless you change to 32bpp midway somewhere
[20:18:58] <brada> i suppose not, but thoretically you can do antialiasing with paletted sprites.
[20:19:28] <brada> well im sure it does get cahnged to 32bpp when it is blitted to the screen if your config is set to 32bpp
[20:20:18] <janisozaur> yes, that's really expected, i'm wondering if there is a change earlier on for fonts
[20:20:31] <janisozaur> how about the enhanced edition? are these still palletted?
[20:20:56] <janisozaur> i have bg2:ee, which i want to test with gemrb in a moment
[20:21:15] <brada> it wont work :(
[20:21:22] <janisozaur> ee not supported?
[20:21:27] <brada> not yet
[20:21:34] <janisozaur> awww.
[20:22:16] <brada> there are some things needing to be done. im working on a small handful of the UI aspects that are needed, but there is still work elsewhere
[20:22:55] <janisozaur> brada, one last thing: can you point me in direction of that font rewrite PR?
[20:23:04] <brada> what is PR?
[20:23:08] <janisozaur> pull request
[20:23:19] <brada> i doubt it was merged in as a pull request
[20:23:32] <janisozaur> in that case a merge :)
[20:23:37] <brada> you can probably grep the history for the merge tho
[20:23:55] <brada> it was a long time ago, i would have to search just as hard as you at this point :)
[20:24:11] <janisozaur> https://github.com/gemrb/gemrb/pull/30
[20:24:13] <Pepelka> Font/Text system rewrite by bradallred · Pull Request #30 · gemrb/gemrb · GitHub
[20:24:14] <Pepelka> »gemrb - Engine Made with preRendered Background«
[20:24:18] <brada> the diff is going to be huge tho. i cant see it being super helpful
[20:24:30] <brada> that predates what was actually merged
[20:24:36] <brada> many changes since
[20:24:46] <janisozaur> oh, ok, good to know in that case
[20:24:58] <janisozaur> i'll grep the history then
[20:25:05] <brada> but that does help narrow the date range :)
[20:25:06] <janisozaur> thanks, you've been most helpful
[20:25:09] <brada> np
[20:25:50] <brada> seriously tho, IIRC that diff was > than 10,000 lines
[20:31:04] <brada> janisozaur: that merge only shows the diff between the last time master was merged into that branch... so its quite incomplete
[20:31:21] <brada> you would have to diff between the original branching commit and the merge
[20:32:15] <brada> still dont see how that is useful to look at tho :)
[20:40:47] <lynxlynxlynx> and it required a lot of follow up work, so it won't be conclusive
[20:40:55] <lynxlynxlynx> best to just diff pre-merge and head
[20:41:38] <brada> yes, that too :)
[20:52:45] <-- brada has left IRC (Ping timeout: 252 seconds)
[21:21:43] --> brada has joined #gemrb
[21:29:01] <-- brada has left IRC (Quit: brada)
[21:36:02] <lynxlynxlynx> so many people here :)
[21:47:18] --> brada has joined #gemrb
[22:34:33] <-- brada has left IRC (Quit: brada)
[23:51:43] <-- lich-li has left IRC (Ping timeout: 272 seconds)