2019년 4월 30일 화요일

dpi comparison

Monitor’s physical DPIAutomatic configuration selects the following Windows DPI valueScale levelEffect
Less than 11696100%Displays text and graphics at a smaller size.
116 to 138120*125%Displays text and graphics at a medium size.
More than 138144*150%Displays text and graphics at a larger size.



https://msdn.microsoft.com/en-us/library/windows/hardware/dn915348(v=vs.85).aspx

check current dpi

https://askubuntu.com/questions/378386/how-to-get-the-right-dpi-resolution-on-ubuntu-13-04-saucy

$ xdpyinfo | grep -B2 dots

2019년 4월 27일 토요일

2019년 4월 26일 금요일

godot3 draw_string with BitmapFont

  1. building bitmapFont
    1. drawing image file(gimp?)
    2. make fnt with BMFont
  2. editing .fnt ( little hack ?)
    1. lineHeight as fontHeight
    2. xadvance as fontWidth
  3. using in godot3
    1. ideas https://github.com/godotengine/godot/issues/15023 
var font = BitmapFont.new()

func _ready():
    font.create_from_fnt("res://fonts/n10.fnt")

func _draw():
    draw_string(font, Vector2(0, 50), "0123456789")

2019년 4월 21일 일요일

amazfit bip 워치페이스 적용 (android)


  • 워치페이스 받기
    • .bin
  • .bin파일 연결 -> Notify & Fitness for Amazfit 

amazfit bip 글꼴 설치 및 비교



    • ddalkkol.ft : 너무 얇음
    • ddungunmo.ft: 적절
  • 설치
    • gadget bridge unofficial
      • 잘 됨
    • notify & fitness for amazfit
      • 펌웨어 망가짐, mi fit 에서 재설치 필요

2019년 4월 16일 화요일

How To Fix “Warning: local is newer than community” Error In Arch Linux

https://www.ostechnix.com/how-to-fix-warning-local-is-newer-than-community-error-in-arch-linux/

sudo pacman -Syu
sudo pacman -Suu
sudo pacman -Syyu
 

2019년 4월 3일 수요일

google ocr

  • upload pictures into google drive & open with google docs
    • good ocr quality
    • too much work
  • upload splitted pdf(using pdfsam) & open with google docs
    • mediocre ocr quality
  • merge pictures less than 10mb, upload chunks & open with google docs
    • merge(using imagemagick)
    • good ocr qualuty
    • less work
    • profit!

via permission error linux chrome

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