[01:03:11] *** Quits: skjkrr (uid440352@gateway/web/irccloud.com/x-uivezdkwlrwwsoqf) (Quit: Connection closed for inactivity) [01:28:17] @KaZeR @jkoan Here is my code to fix height to my liking. When I go I to Canada is still like height in feet even though I turn imperial off. Just a quirk with me. case attr_position_height:             /              * johnk 5/27/2020              * if format is "feet" then return feet              * else              * if format is "imperial" return [01:28:18]              *   meters or feet as controlled by "imperial "              * otherwise return meters             /             if (format && (!strcmp(format, "feet") ||                            (!strcmp(format, "feet") && imperial == 1)))                 return (format_float_0(*attr->u.numd * FEET_PER_METER) );             [01:28:18] return (format_float_0(*attr->u.numd) ); [01:31:44] @KaZeR @jkoan Oops: here is the corrected version: Here is my code to fix height to my liking. When I go I to Canada is still like height in feet even though I turn imperial off. Just a quirk with me. case attr_position_height:             /*              * johnk 5/27/2020              * if format is "feet" then return feet              * else           [01:31:45]    * if format is "imperial" return              *   meters or feet as controlled by "imperial "              * otherwise return meters          * /             if (format && (!strcmp(format, "feet") ||                            (!strcmp(format, "imperial") && imperial == 1)))                 return (format_float_0(*attr->u.numd * [01:31:45] FEET_PER_METER) );             return (format_float_0(*attr->u.numd) ); [02:31:54] @Johnk code excerpt like that are a bit hard to read. could you try a github gist or pastebin.navit-project.org ? [03:18:41] @KaZeR in the morning [12:29:31] *** Joins: ilovekiruna (~ilovekiru@p57a0bbb2.dip0.t-ipconnect.de) [12:29:31] *** ChanServ sets mode: +v ilovekiruna [13:56:42] hi all 🙂 [13:57:00] hi jkoan [13:57:07] after a long time back on linux :-) [14:05:58] hi ilovekiruna [14:06:41] sone days agon i thought i will wait until the next time you are online. But now i cant remember what the case was... [14:06:53] jkoan, have you done anything more on openstf? [14:07:00] I have now a few more phones [14:07:06] do you have some time today? [14:07:10] for sure you will remember [14:07:19] a bit [14:07:25] what do you want me to do? [14:07:26] no, nothing for openstf :-( [14:07:35] currently working on sdl2 [14:07:44] i am right now still in my peak time of phd [14:08:00] my first simulations need to start running and my experimental setup be constructed [14:08:12] but will be more often now on IRC, when I am on linux [14:08:30] nice :-) [14:08:47] nice to hear I am not forgotten :-D [14:09:59] no :D [14:10:11] what do you think about PR#1007? [14:25:58] from a first glance i would say looks fine. [14:26:07] I find PR #1008 quite exciting [14:26:58] i also do, but at the moment its WIP :-/ [14:27:10] so i keep working on sdl2 :D [14:29:46] is sdl2 still uptodate? [14:30:43] currently navit uses sdl1.2 so sdl2 would be at least at current :D but as far i know its in active development [14:32:34] the qt situation is really worrying i would say [14:34:56] yes, i heared about it. But for my sqlf i dont have so much of a problem with it. I am on Gnome and GTK. But of course it could be a problem, after all a lot of cool programms are written for qt. But Probably someone will create a wrapper lib to run qt app with gtk or something else [14:35:10] or a qt fork will be created [14:35:20] or a replacement with a qt api [14:35:30] I am more a KDE guy ;-) [14:35:48] so i guess you understand my worries a bit more :-D [14:36:29] i always found KDE very confusing, but have to admit that i havent tryed it for a while as i like gnome :D [14:36:36] yes, i do [14:38:02] I am on it for most of my linux life [14:38:10] never had an urge to switch [14:40:36] that's totally okay :D [14:40:57] have you done some graphics work on navit at all? [14:41:29] at most some small things related to osd [14:43:04] ah okay, i am thinking about if i should use sdl2_tff or freetype directly for implementing sdl2 text drawing [14:47:02] to be totally hones, I have no clue at all [14:52:12] i think i will go with sdl2_ttf as its less code to maintain. The downside could be that it may be slower, but also for this i cant tell right now. Would need tests. Firt get it dont, then improve it [15:36:03] hi there [15:36:08] hi kazer [15:36:19] hi kazer [16:25:01] Hi everyone [16:25:10] hi Johnk [16:25:32] hi Johnk [16:28:36] Working on my position_height fix. Is everyone on board with the format [feet] and [imperial] (meters if none or not one of these). [16:29:14] Imperial will use the current imperial setting. [16:30:04] is this already supported by the xml parser? [16:30:35] I don't know. [16:31:01] It does work. [16:32:01] then i am okay with this. [16:53:42] *** Joins: jandegr (6dec816f@109.236.129.111) [16:53:42] *** ChanServ sets mode: +v jandegr [17:01:27] What do I need to next? Fork, commit, merge? Of course I will have eack step checked 😋 [17:02:00] Fork, commit and Open a Pull request [17:02:43] Okee doke [17:02:57] In a day or so. [17:56:47] *** Quits: jandegr (6dec816f@109.236.129.111) (Remote host closed the connection) [19:33:44] *** Quits: extor (extor@unaffiliated/extor) (Remote host closed the connection) [19:34:03] *** Joins: extor (extor@unaffiliated/extor) [23:16:07] *** Quits: xenos1984 (~xenos1984@52d8-fe94-b6ff-0250-a680-87ce-07d0-2001.dyn.estpak.ee) (Quit: Leaving.) [23:19:35] *** Joins: xenos1984 (~xenos1984@52d8-fe94-b6ff-0250-a680-87ce-07d0-2001.dyn.estpak.ee) [23:19:35] *** ChanServ sets mode: +v xenos1984 [23:53:52] *** Quits: extor (extor@unaffiliated/extor) (Remote host closed the connection)