2019년 2월 28일 목요일

mx linux korean input(fcitx) 18.1

  •  MX Package Installer
    • Korean_Input_fcitx
  • remove fonts-baekmuk 
  • 텔레그램에서도 잘 됨.
  • (fcitx) 잘 됨
  • (ibus)하지만 띄워쓰기에 문제가 있음😕

ref: https://mxlinux.org/wiki/other/chinese-simplified-input

2019년 2월 3일 일요일

godot paint image on the fly

setup
onready var sprite = $BackgroundSceneRoot/Sprite


func _ready():
    img = Image.new()
    img.create(Globals.WIDTH, Globals.HEIGHT, false, Image.FORMAT_RGB8)
    tex = ImageTexture.new()
    tex.create_from_image(img, 0)

    sprite.texture = tex

update
    img.lock()
    img.set_pixel(x, y, Color(r, g, b))
    img.unlock()

    sprite.texture.set_data(img)

via permission error linux chrome

 https://bbs.archlinux.org/viewtopic.php?id=285709