{"action":"created","issue":{"url":"https://api.github.com/repos/nemomobile/fingerterm/issues/51","labels_url":"https://api.github.com/repos/nemomobile/fingerterm/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/nemomobile/fingerterm/issues/51/comments","events_url":"https://api.github.com/repos/nemomobile/fingerterm/issues/51/events","html_url":"https://github.com/nemomobile/fingerterm/issues/51","id":94427015,"number":51,"title":"Chinese character display is not perfect","user":{"login":"0312birdzhang","id":1762041,"avatar_url":"https://avatars.githubusercontent.com/u/1762041?v=3","gravatar_id":"","url":"https://api.github.com/users/0312birdzhang","html_url":"https://github.com/0312birdzhang","followers_url":"https://api.github.com/users/0312birdzhang/followers","following_url":"https://api.github.com/users/0312birdzhang/following{/other_user}","gists_url":"https://api.github.com/users/0312birdzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/0312birdzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0312birdzhang/subscriptions","organizations_url":"https://api.github.com/users/0312birdzhang/orgs","repos_url":"https://api.github.com/users/0312birdzhang/repos","events_url":"https://api.github.com/users/0312birdzhang/events{/privacy}","received_events_url":"https://api.github.com/users/0312birdzhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-11T02:23:59Z","updated_at":"2015-07-17T08:52:52Z","closed_at":null,"body":"![screenshot-11-07-15-00-20-23](https://cloud.githubusercontent.com/assets/1762041/8631874/1e6be62a-27b6-11e5-8de9-0f26dd6fc8b3.png)\r\n\r\nI use FontLoader to change Text font,and want to recompile it,but fails with this log\r\n```shell\r\n[mersdk@SailfishSDK fingerterm]$ mb2 -t SailfishOS-armv7hl qmake \r\n\r\nBuilding target platforms: armv7hl-meego-linux\r\nBuilding for target armv7hl-meego-linux\r\nExecuting(%build): /bin/sh -e /var/tmp/rpm-tmp.lzMG0G\r\nsh: /home/mersdk/share/fingerterm/updateversion.sh: /bin/bash^M: bad interpreter: No such file or directory\r\ng++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_FEEDBACK_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++ -I. -I. -I/usr/include/nemonotifications-qt5 -I/usr/include/qt5 -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtFeedback -I/usr/include/qt5/QtCore -I. -o main.o main.cpp\r\ng++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_FEEDBACK_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++ -I. -I. -I/usr/include/nemonotifications-qt5 -I/usr/include/qt5 -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtFeedback -I/usr/include/qt5/QtCore -I. -o util.o util.cpp\r\ng++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_FEEDBACK_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++ -I. -I. -I/usr/include/nemonotifications-qt5 -I/usr/include/qt5 -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtFeedback -I/usr/include/qt5/QtCore -I. -o qrc_resources.o qrc_resources.cpp\r\nvirtual memory exhausted: Cannot allocate memory\r\nmake: *** [qrc_resources.o] Error 1\r\nerror: Bad exit status from /var/tmp/rpm-tmp.lzMG0G (%build)\r\n\r\n\r\nRPM build errors:\r\n    Bad exit status from /var/tmp/rpm-tmp.lzMG0G (%build)\r\n[mersdk@SailfishSDK fingerterm]$ free -m\r\n             total       used       free     shared    buffers     cached\r\nMem:           497        203        293          0          7        151\r\n-/+ buffers/cache:         44        452\r\nSwap:            0          0          0\r\n[mersdk@SailfishSDK fingerterm]$ df -h\r\nFilesystem            Size  Used Avail Use% Mounted on\r\nrootfs                4.0G  2.4G  1.6G  60% /\r\n/dev/root             4.0G  2.4G  1.6G  60% /\r\ndevtmpfs              249M     0  249M   0% /dev\r\ntmpfs                 249M     0  249M   0% /dev/shm\r\ntmpfs                 249M  1.0M  248M   1% /run\r\ntmpfs                 249M     0  249M   0% /sys/fs/cgroup\r\ntmpfs                 249M     0  249M   0% /tmp\r\nnone                  164G   45G  119G  28% /etc/ssh/authorized_keys\r\nnone                  164G   45G  119G  28% /home/mersdk/share\r\nnone                  164G   45G  119G  28% /host_targets\r\nnone                  164G   45G  119G  28% /etc/mersdk/share\r\nnone                  164G   45G  119G  28% /home/src1\r\n[mersdk@SailfishSDK fingerterm]$ \r\n\r\n```\r\n\r\nAnd i use SailfishSDK on ubuntu,disabled shadow build ,also fails with the same log\r\n\r\nSo,what's the right way to compile this project?\r\n\r\nOr can you fix the display style of Chinese character? \r\n"},"comment":{"url":"https://api.github.com/repos/nemomobile/fingerterm/issues/comments/122221529","html_url":"https://github.com/nemomobile/fingerterm/issues/51#issuecomment-122221529","issue_url":"https://api.github.com/repos/nemomobile/fingerterm/issues/51","id":122221529,"user":{"login":"pvuorela","id":2478615,"avatar_url":"https://avatars.githubusercontent.com/u/2478615?v=3","gravatar_id":"","url":"https://api.github.com/users/pvuorela","html_url":"https://github.com/pvuorela","followers_url":"https://api.github.com/users/pvuorela/followers","following_url":"https://api.github.com/users/pvuorela/following{/other_user}","gists_url":"https://api.github.com/users/pvuorela/gists{/gist_id}","starred_url":"https://api.github.com/users/pvuorela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvuorela/subscriptions","organizations_url":"https://api.github.com/users/pvuorela/orgs","repos_url":"https://api.github.com/users/pvuorela/repos","events_url":"https://api.github.com/users/pvuorela/events{/privacy}","received_events_url":"https://api.github.com/users/pvuorela/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T08:52:52Z","updated_at":"2015-07-17T08:52:52Z","body":"I don't fully understand what's the issue here. Would it be Fingerterm displaying some Chinese characters bad, in device or with SDK, or problems modifying the code? Chinese characters appear to work for me on Jolla phone."}}