IRC log of #maemo for Saturday, 2021-01-23

*** ketas has quit IRC00:04
*** ketas has joined #maemo00:10
*** jskarvad has quit IRC00:16
*** Vajb has quit IRC00:48
*** Vajb has joined #maemo00:48
*** Kilroo has joined #maemo00:56
*** freemangordon has quit IRC01:08
*** segnior has quit IRC01:10
*** segnior has joined #maemo01:17
*** horseshoecrab has quit IRC01:24
*** Vajb has quit IRC01:35
*** Vajb has joined #maemo01:35
*** segnior has quit IRC01:41
*** segnior has joined #maemo01:56
*** florian has quit IRC01:58
*** sicelo has quit IRC02:05
*** segnior has quit IRC02:21
*** segnior has joined #maemo02:32
*** horseshoecrab has joined #maemo02:53
*** segnior has quit IRC03:34
*** segnior has joined #maemo03:37
*** luke-jr has quit IRC03:50
*** luke-jr has joined #maemo03:52
*** Kilroo has quit IRC04:02
*** Kilroo has joined #maemo04:16
sunshavithis is ouf of topic: any experience with fbterm?04:18
*** akossh has quit IRC04:30
*** tm has quit IRC05:07
*** tm has joined #maemo05:11
*** infobot has quit IRC05:22
*** Pali has quit IRC05:27
MaxdamantusI used it as my main terminal emulator on my laptop (Aspire One) back in 2012 or so.05:51
MaxdamantusBecause it seemed more power-efficient than running Xorg.05:52
Maxdamantus(and at least at the time, it seemed to be a lot faster than fbcon in the kernel)05:52
MaxdamantusI suspect it supported proper hinting (based on rules in the ttf file), since I find unhinted (or badly hinted) text annoying to read.05:56
*** pagurus has quit IRC06:49
*** Vajb has quit IRC07:00
*** Vajb has joined #maemo07:00
*** Kilroo has quit IRC07:29
*** DocScrutinizer05 has quit IRC07:42
*** DocScrutinizer05 has joined #maemo07:42
*** infobot has joined #maemo07:53
*** ChanServ sets mode: +v infobot07:53
*** newbieAlert has joined #maemo08:02
*** jon_y has quit IRC08:28
*** jon_y has joined #maemo08:40
*** infobot has quit IRC08:59
*** Vajb has quit IRC09:06
*** Vajb has joined #maemo09:06
*** freemangordon has joined #maemo09:45
*** inky has quit IRC10:39
*** Vajb has quit IRC10:58
*** Vajb has joined #maemo10:59
*** parazyd has quit IRC11:04
*** realitygaps has quit IRC11:04
*** Vajb has quit IRC11:05
*** Vajb has joined #maemo11:06
*** parazyd has joined #maemo11:06
*** realitygaps has joined #maemo11:06
*** pcfe[m] has quit IRC11:10
*** Vajb has quit IRC11:22
*** Vajb has joined #maemo11:22
*** Vajb has quit IRC11:30
*** Vajb has joined #maemo11:31
*** sicelo has joined #maemo11:43
*** florian_kc has joined #maemo12:07
*** pcfe[m] has joined #maemo12:18
*** drathir_tor has quit IRC12:23
*** inky has joined #maemo12:29
*** drathir_tor has joined #maemo12:29
*** newbieAlert has quit IRC12:35
*** pagurus has joined #maemo12:59
*** inky has quit IRC13:24
*** newbieAlert has joined #maemo14:04
*** luke-jr has quit IRC14:04
enycMaxdamantus: interestingy, not heard of that!14:04
enycMaxdamantus: I remember all the krefluffle when framebuffer console started in first place,  vs  svgalib modes and so on!14:04
*** luke-jr has joined #maemo14:05
*** Pali has joined #maemo14:06
MaxdamantusI have a feeling that fbcon is faster nowadays, though I don't use it as a primary terminal emulator.14:09
Maxdamantus(normally on my desktops/laptop, I use urxvt, and on N900 I just use the usual osso-xterm)14:10
Maxdamantuswould like to switch at some point on N900 to use something with proper font rendering though.14:10
Maxdamantusthe bad font rendering is not so noticable on N900 since it has a higher pixel density than all the other displays I use, but still whenever I do end up running something on N900 with proper font rendering, it looks much clearer.14:11
Maxdamantus("bad" as in unhinted—I haven't managed to get anything in Maemo to work with ttf hinting enabled, have only ever got it working in a Debian chroot)14:13
Maxdamantushttps://maxdamantus.eu.org/freetype.png in case anyone wants an example of the distinction, though those examples are not on N900.14:18
sunshaviMaxdamantus: my problem is with font rendering on fbterm. Perhaps I should try fbcon first?14:29
Maxdamantussunshavi: what's the problem?14:29
Maxdamantusfbcon just uses some stored bitmaps.14:30
sunshavii use xterm and xst, and virtual console and when i want 256 colors on the virtual terminal I use fbterm.14:30
sunshavilet me share a couple of images one of the virtual console and the other one about fbterm14:30
sunshavihttps://termbin.com/xmc7n14:32
MaxdamantusYeah, that fbterm picture is unhinted.14:34
Maxdamantusfbcon is effectively hinted since its fonts are 2-bit bitmaps.14:35
sunshaviThen. should I try fbcon?14:36
sunshavilet me check yaourt about fbcon14:36
MaxdamantusYou've already got a picture of fbcon.14:36
MaxdamantusThe "-s5Q.png" picture is fbcon.14:36
*** newbieAlert has quit IRC14:36
sunshavi:o14:36
Maxdamantusfbcon is just the fb terminal emulator in the kernel.14:36
*** newbieAlert has joined #maemo14:36
sunshavifor me that's the virtual terminal (GNU/Linux virtual terminal)14:37
MaxdamantusNot sure about that description, but I imagine it would also apply to the kernel's VGA text mode terminal emulator too.14:38
Maxdamantus(which just uses VGA text instead of drawing text itself on a framebuffer)14:38
sunshavinice to know. thanks for the clarification14:38
sunshavion fbterm i can get more rows14:39
sunshaviit bothers me a little bit. And also when rendering the text is slower than fbcon aka (GNU/Linux virtual terminal)14:40
sunshaviBut. When I want more vertical space for inspecting irc logs. fbterm is paramount14:41
MaxdamantusYeah, as I said, I think fbcon is faster nowadays. It used to be relatively slow.14:41
sunshavinow it is faster than xterm at least on my SBC14:41
Maxdamantus(the VGA text mode terminal was fast back in 2012)14:41
sunshaviMaxdamantus: Thanks for the help14:42
sunshaviI am going out for a couple of hours. Have a great day or depending of your timezone (the rest of the day)14:43
MaxdamantusIf the thing you don't like about the font rendering is the lack of hinting, maybe you could try using something like this in your ~/.fonts.conf: https://gist.github.com/Maxdamantus/11ecda2994c05332ac7a29c3545505a314:44
Maxdamantusand if that doesn't change anything, maybe run it under strace to see if it's actually reading the config file.14:44
sunshavilet me check fbterm shows the font rendering with a command line switch14:45
Maxdamantusactually, if you're using a recent version of freetype, I'd also suggest using this environment variable: FREETYPE_PROPERTIES=truetype:interpreter-version=3514:45
Maxdamantus(in combination with that ~/.fonts.conf setting)14:46
*** Vajb has quit IRC14:47
*** Vajb has joined #maemo14:47
sunshaviI am on archlinux-arm. with the latest and greatest14:48
sunshavitalk to you later.14:48
MaxdamantusOkay, good luck.14:48
*** Vajb has quit IRC15:15
*** Vajb has joined #maemo15:15
*** newbieAlert has quit IRC16:50
*** drathir_tor has quit IRC17:09
*** drathir_tor has joined #maemo17:45
*** drathir_tor has quit IRC17:55
sunshaviMaxdamantus: http://0x0.st/---M.png18:02
sunshaviit has improved18:02
*** drathir_tor has joined #maemo18:11
*** DocScrutinizer05 has quit IRC18:28
*** DocScrutinizer05 has joined #maemo18:30
visionvirusinfobot ~sb18:39
*** infobot has joined #maemo18:41
*** ChanServ sets mode: +v infobot18:41
*** drathir_tor has quit IRC18:55
*** newbieAlert has joined #maemo19:01
*** auenfx8 has joined #maemo19:32
*** auenf has quit IRC19:32
*** Vajb has quit IRC19:44
*** Vajb has joined #maemo19:44
*** Vajb has quit IRC19:49
*** Vajb has joined #maemo19:49
*** drathir_tor has joined #maemo19:51
*** drathir_tor has quit IRC19:59
*** sunshavi has quit IRC20:01
*** Vajb has quit IRC20:01
*** Vajb has joined #maemo20:01
*** sunshavi has joined #maemo20:04
*** drathir_tor has joined #maemo20:19
*** drathir_tor has quit IRC20:42
*** drathir_tor has joined #maemo21:04
*** drathir_tor has quit IRC21:19
Maxdamantussunshavi: hmm .. looks about the same to me.21:41
MaxdamantusI tried running fbterm last night, and it didn't seem to be doing antialiasing.21:42
sunshaviI am comparing both.21:43
sunshaviMaxdamantus: with the modifications it looks a little bit clear21:43
sunshavinot as great as the virtual terminal aka fbcon21:44
MaxdamantusMaybe, though still neither is properly hinted, so they're both fuzzy, at least to me.21:45
sunshaviMmmm. How hinting could be gotten?21:46
MaxdamantusTheoretically, by using that "hintstyle" setting that you've now got in .fonts.conf, and using FREETYPE_PROPERTIES=truetype:interpreter-version=3521:48
Maxdamantus(in freetype 2.7 or so, they changed the way hinting instructions are used by default, so you have to set that environment variable to get the previous behaviour)21:51
sunshavihttps://termbin.com/ttwx21:53
sunshavithat is my freetype2 version21:53
*** florian__ has joined #maemo21:53
*** florian__ is now known as florian21:53
MaxdamantusRight, so you'll need that environment variable set to do proper full-pixel hinting.21:54
sunshaviI have done : export FREETYPE_PROPERTIES=truetype:interpreter-version=3521:54
sunshaviand then : fbterm -v21:54
*** florian_kc has quit IRC21:55
MaxdamantusOkay, got it working nicely for me, but had to modify the fbterm source code.22:23
MaxdamantusAlso had to explicitly enable antialiasing in fontconfig, since fbterm has it off by default, but you've already got that part enabled (maybe your system fontconfig sets it)22:25
Maxdamantusfor the hinting part, I needed to `FT_LOAD_TARGET_LIGHT` in the source code to `FT_LOAD_TARGET_NORMAL`22:25
Maxdamantusneeded to change*22:25
Maxdamantushttps://maxdamantus.eu.org/fb2.png22:26
MaxdamantusDeleted that previous image: https://maxdamantus.eu.org/fb3.png22:27
sunshaviok. Let me try it22:30
visionvirushow to install the sdk to a new debian?22:35
DocScrutinizer05~sb22:38
infobotwell, scratchbox is a cross-compiling system that uses binfmt_misc, rpc calls, and an nfs mount to make a cross-build appear to be 100% native, and is found at http://www.scratchbox.org/, hosted by maemo now. Also at http://maemo.merlin1991.at/files/SB22:38
DocScrutinizer05~sdk22:39
infobotsdk is probably http://privatepaste.com/e4a5b13fad or "wget http://repository.maemo.org/tabletsdev/explicit/maemo-dev-env-downloads/downloads/Readme_Ubuntu_Lucid_Desktop_SDK_Virtual_Image_Final.txt", or https://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide22:39
DocScrutinizer05hmmm22:43
DocScrutinizer05http://repository.maemo.org/22:43
*** drathir_tor has joined #maemo22:44
sunshaviMaxdamantus: on line 253 of font.cpp I have FT_LOAD_TARGET_NORMAL. should I change it to FT_LOAD_TARGET_LIGHT?22:49
visionvirus#deb http://scratchbox.org/debian/ maemo5-sdk main22:51
KotCzarnybest way is using virtual machine image22:52
visionvirusKotCzarny: ah, with an old debian? which version?22:53
KotCzarnydont know, i personally use chroot (~500mb)22:53
Maxdamantussunshavi: hm, no. I was expecting it to be the other way round.22:53
KotCzarnybut for a new user, vm is quickest22:53
Maxdamantussunshavi: in the fbterm source code that I've got (used by nixpkgs), it has `FT_LOAD_TARGET_LIGHT`22:54
visionvirusi mostly use chroot, too22:54
visionvirusfor my other partitions, to update em all in oce22:54
visionvirusonce22:54
visionvirusKotCzarny: which debian version are u using then?22:54
sunshaviMaxdamantus: I have the git version. Last log change 2015-05-09 by Arthur Shevchenko22:55
Maxdamantussunshavi: hm, yeah, okay, I see that too in the version from https://github.com/gjedeer/fbterm22:55
Maxdamantussunshavi: were you just running it from a package manager beforehand? Maybe you should just build from git as-is and see if that works out.22:56
sunshavihttps://github.com/izmntuk/fbterm22:57
KotCzarnyvisionvirus: im using chroot on my orange pi which is using devuan something something22:57
Maxdamantussince when I ran it from both nixpkgs and debian testing, I got the same behaviour where it was presumably only using "light" hinting.22:57
Maxdamantussunshavi: yes, that has the change too.22:59
DocScrutinizer05visionvirus: http://maemo.merlin1991.at/files/SB/desktop/23:00
DocScrutinizer05VM image23:00
Maxdamantussunshavi: in fact, it's the last commit, so good chance that it's not in package repos: https://github.com/izmntuk/fbterm/commit/5b48962aa46648a94e3f7460905983021873045523:00
visionvirus22:00 < DocScrutinizer05> visionvirus: http://maemo.merlin1991.at/files/SB/desktop/23:04
visionvirus22:00 < DocScrutinizer05> VM image23:04
visionvirusups... somebody got a installable pkg-config deb for maemo5?23:04
visionvirusthanX DocScrutinizer05 !23:05
sunshaviMaxdamantus: THanks for the help. I am going out again for another couple of hours. I'll be back later23:05
DocScrutinizer05aah, completely unrelated but worth remembering... If only I could... :-S23:08
DocScrutinizer05~phonetools23:08
DocScrutinizer05~listvalues phonetool23:09
infobotFactoid search of 'phonetool' by value returned no results.23:09
visionvirus~help23:11
DocScrutinizer05~phonecontrol23:15
infoboti heard phonecontrol is http://wiki.maemo.org/Phone_control23:15
DocScrutinizer05^^^ recommended23:15
DocScrutinizer05lots of nifty stuff23:15
*** drathir_tor has quit IRC23:16
*** drathir_tor has joined #maemo23:28
*** Vajb has quit IRC23:30
*** drathir_tor has quit IRC23:36
*** Vajb has joined #maemo23:39
DocScrutinizer05visionvirus: also see http://maemo.cloud-7.de/maemo5/dirsnapshot2.png23:44
DocScrutinizer05please don't post any full URLs anywhere or this stuff will vanish immediately23:44
*** inky has joined #maemo23:45
visionvirusaha DocScrutinizer05 ok23:46
visionviruswhats about that snapshot?23:47
visionviruscause of the qemu ?23:47
DocScrutinizer05visionvirus: refer http://repository.maemo.org/tabletsdev/explicit/maemo-dev-env-downloads/downloads/Readme_Ubuntu_Lucid_Desktop_SDK_Virtual_Image_Final.txt23:49
DocScrutinizer05Nokia never gave permission to re-host for some stuff23:49
visionvirusaha...23:56
visionvirusthats a lil uncool ;) from noka .... but ok23:56
visionvirusDocScrutinizer05: the links isn available anymore23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!