IRC logs for #openttd on OFTC at 2022-09-07
⏴ go to previous day
00:20:55 *** Wormnest has joined #openttd
02:12:57 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
06:15:06 *** sla_ro|master has joined #openttd
10:44:48 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
12:03:02 *** Kitrana has joined #openttd
12:05:19 *** Kitrana1 has joined #openttd
12:05:41 *** WormnestAndroid has joined #openttd
12:11:05 *** Kitrana has quit IRC (Ping timeout: 480 seconds)
12:26:45 *** sla_ro|master has quit IRC ()
13:58:39 *** sla_ro|master has joined #openttd
14:28:24 *** sla_ro|master has quit IRC ()
14:54:31 *** Kitrana1 has quit IRC (Quit: Leaving.)
14:55:17 *** Kitrana has joined #openttd
17:36:31 <petern> Hmm, our file reader stuff doesn't lend itself well to text files 😄
17:47:09 <nielsm> text formats isn't the main thing we consume
17:50:57 <nielsm> otoh, the Fios functions can just open the file and get a C library file handle and then use the standard library functions
18:05:06 <peter1138> Yeah, but when your text file is XML and can contain multiple glyph definitions within, that doesn't fit with how the SpriteLoader works. Possibly FontLoader.
18:05:47 <peter1138> But, uh, we switch from the mix of text & sprite to sprite rendering for GUI icons years ago.
18:09:06 <nielsm> suddenly including an XML parser seems like a rather big leap
18:10:26 *** sla_ro|master has joined #openttd
18:10:39 <nielsm> the most straightforward way to get vector glyphs to me would be to make a truetype font file with the characters at the right positions, and just load that ttf file with the font engine used
18:14:18 *** Wormnest has joined #openttd
18:18:41 *** gelignite has joined #openttd
18:44:47 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
18:58:32 *** APTX has quit IRC (synthon.oftc.net coherence.oftc.net)
18:58:32 *** birdjj has quit IRC (synthon.oftc.net coherence.oftc.net)
18:58:32 *** Smedles has quit IRC (synthon.oftc.net coherence.oftc.net)
18:59:20 <DorpsGek> - Update: Translations from eints (by translators)
19:00:58 *** Smedles has joined #openttd
19:47:03 *** gelignite has quit IRC (Quit: Stay safe!)
20:31:06 *** nielsm has quit IRC (Ping timeout: 480 seconds)
20:32:19 *** HerzogDeXtEr has joined #openttd
20:33:21 *** sla_ro|master has quit IRC ()
20:52:31 <petern> jfs-: yes that was my original thought, but I also found nanosvg, which does all the parsing and rasterizing in 2 source files...
20:53:26 <petern> So that led to me wondering about possibly loading SVGs as sprites.
21:07:02 <dP> having ui stuff in svg would probably be quite nice
21:19:31 <petern> Yes, I've made the glyphs, just no way to get in yet.
21:33:52 <dP> I meant all the ui sprites but glyphs are a good start I guess
21:39:49 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:51:24 *** Etua has quit IRC (Quit: Etua)
21:55:42 <petern> Yeah, I went with the monochrome icons thinking it would be okay as a font. But if we could load svg then colours and stuff...
22:16:20 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
22:18:04 *** Wormnest_ has joined #openttd
22:18:04 *** Wormnest has quit IRC (Read error: Connection reset by peer)
22:18:49 *** Wormnest__ has joined #openttd
22:18:49 *** Wormnest_ has quit IRC (Read error: Connection reset by peer)
22:45:18 *** Elouin6 has joined #openttd
22:45:48 *** Wormnest__ has quit IRC (Ping timeout: 480 seconds)
22:51:13 *** Elouin has quit IRC (Ping timeout: 480 seconds)
22:51:13 *** Elouin6 is now known as Elouin
22:58:32 *** Wormnest__ has joined #openttd
23:21:35 *** wallabra has quit IRC (Ping timeout: 480 seconds)
23:22:27 *** wallabra has joined #openttd
23:26:13 *** wallabra_ has joined #openttd
23:30:38 *** wallabra has quit IRC (Ping timeout: 480 seconds)
23:30:38 *** wallabra_ is now known as wallabra
continue to next day ⏵