[00:11:04] --> Colourless` has joined #Pentagram
[00:11:16] <-- Colourless has left IRC (Nick collision from services.)
[00:11:18] --- Colourless` is now known as Colourless
[00:11:20] --- ChanServ gives channel operator status to Colourless
[01:07:07] <Colourless> bbl
[01:07:10] <-- Colourless has left IRC ("casts improved invisibility")
[01:14:32] <-- etomek has left IRC (Read error: 110 (Connection timed out))
[01:43:00] --> Colourless has joined #Pentagram
[01:43:00] --- ChanServ gives channel operator status to Colourless
[02:00:58] <-- Kohlrabi has left IRC ("Fast alle Menschen sind Regenwürmer")
[02:19:50] <-- Colourless has left IRC (Read error: 113 (No route to host))
[04:25:06] --> SB-X has joined #pentagram
[06:27:09] * Darke2 is slightly surprised at how many libraries break subtly when passing unicode characters through them.
[07:15:32] <SB-X> subtly?
[07:16:12] <Darke2> "It doesn't work and you don't know why." *grin*
[07:18:17] <Darke2> One lib wasn't compiled with unicode/utf8 support. Another I was using a too old version. A third was 'supposed to work', but it defaulted to non-unicode and you have to explicitly set it to unicode. You also have to specify it in every instance in the code (which was a seperate problem to it just not being specified *grin*).
[07:55:28] --> Colourless has joined #Pentagram
[07:55:28] --- ChanServ gives channel operator status to Colourless
[09:14:06] * Colourless thwacks sourceforge for being slow at sending emails
[09:16:21] <Darke2> Heh.
[09:20:34] <Colourless> sent email to devel about mixed scale rendering, then i committed all the changes for it, some 60 or so files and nothing from sf about it
[10:23:56] <wjp> hi
[10:23:58] <wjp> cool!
[10:24:20] <wjp> I haven't received any emails either, by the way
[10:25:32] * wjp builds
[10:27:38] <wjp> I'll get to work on SJIS->unicode conversion to enable ttf rendering for the Japanese text
[10:36:24] <wjp> this looks really great
[10:36:50] <wjp> Colourless: great job
[10:50:00] <wjp> text in scrolls is only taking up the top-left quarter of the scroll
[11:08:41] <wjp> I guess TextWidget::init should transform (targetwidth,targetheight) to screenspace when necessary
[11:21:03] <-- SB-X has left IRC ()
[11:23:13] <wjp> committed; I hope it's correct this way
[11:24:39] <-- Colourless has left IRC (Read error: 113 (No route to host))
[12:07:06] --> Kohlrabi has joined #pentagram
[13:02:42] --> Fingolfin has joined #pentagram
[13:02:42] --- ChanServ gives channel operator status to Fingolfin
[14:24:34] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[15:36:23] --- LordNAway is now known as Lord_Nightmare
[17:03:33] * wjp hmmms
[17:03:40] <wjp> dealing with different character encodings is annoying
[17:04:54] <wjp> converting everything to unicode unfortunately isn't really an option because converting that back into U8 font indices is too hard in the japanese case
[17:08:48] <wjp> maybe I'll template-ify the typesetting function with some simplified 'char-traits'-like class
[17:11:26] <wjp> or maybe the standard C++ multibyte support with codecvt can be used somehow
[17:13:25] * Fingolfin was happy to avoid such things in ScummVM so far
[17:13:43] <Fingolfin> esp. when people request a localized UI <sigh>
[17:14:01] <Fingolfin> encodings, and having fonts with the required chars...
[17:14:41] <wjp> pentagram currently uses SDL_ttf for its UI, so the font support is mostly taken care of, luckily
[17:16:27] <wjp> did you see Ryan's font rendering update from this weekend, by the way? Pentagram can now render truetype fonts unscaled while scaling the rest of the game
[17:30:57] <Fingolfin> no, didn't see that
[17:31:15] <Fingolfin> guess it's a bit like how ScummVM can scale game content but let's the UI be unscaled?
[17:31:44] <Fingolfin> I was actually considering using TTF support in ScummVM, but we can't use SDL_ttf, obviously, and I am not sure about the portability ...
[17:35:40] <wjp> SDL_ttf is a (fairly thin) layer on top of freetype
[18:39:50] <-- Oak has left IRC ("Changing server")
[18:39:52] --> Oak has joined #pentagram
[18:48:28] <-- Kohlrabi has left IRC (Nick collision from services.)
[18:48:34] --> Kohlrabi has joined #pentagram
[21:02:37] <-- Fingolfin has left IRC ("42")
[21:15:56] --> Kirben has joined #pentagram
[21:15:56] --- ChanServ gives channel operator status to Kirben
[21:40:22] --> Colourless has joined #Pentagram
[21:40:22] --- ChanServ gives channel operator status to Colourless
[21:52:31] <wjp> hi Colourless
[21:52:53] <wjp> SF list servers still down :/
[21:53:30] <Colourless> hi
[21:53:37] <Colourless> see you fixed the scrolls
[21:54:49] <Colourless> i noticed that with TTF you get a lot more text using the same sized bark gump and pentagram times them out a bit too quick to be able to read the entire thing
[21:59:44] <wjp> I doubled the pointsize in my u8.ini here
[22:00:23] <wjp> but it probably should be changable anyway
[22:00:26] <wjp> (the speed, I mean)
[22:08:56] <Colourless> it was in the original
[22:09:26] <Colourless> i was thinking a larger pointsize should be something that is selectable 'easily'
[22:09:57] <Colourless> meaning do'nt need to edit u8.ini
[22:12:16] <Colourless> of course it may already be possible to do that..
[22:12:22] * Colourless pokes around the pentagram source
[22:14:31] <wjp> I also added japanese support for TTFs
[22:16:05] <Colourless> yeah i saw
[22:16:35] <wjp> when I enable ttf antialiasing with that it produces garbage, strangely
[22:17:00] <wjp> I'll have to look into what's causing it sometime
[22:18:56] <Colourless> could be the font
[22:19:00] <Colourless> could be freetype..
[22:19:02] <Colourless> could be pentagram
[22:23:23] <wjp> it happened with at least two different fonts
[22:27:09] <wjp> hm, pentagram is currently not scaling JPFonts
[22:29:48] <Colourless> oh
[22:29:56] <Colourless> my bad
[22:30:19] <wjp> does it only scale ShapeFont?
[22:30:20] <Colourless> i do a check for if (gamefont && !font->IsOfType<ShapeFont>())
[22:31:03] <Colourless> forgot about the JPFonts being a different class
[22:31:10] <wjp> we could add a bool member function to Font for that
[22:32:19] <Colourless> probably a good idea
[22:51:58] <wjp> time for bed; bye
[23:14:45] <-- Colourless has left IRC ("casts improved invisibility")