- Published on
Máy đọc sách Kobo Libra 2
- Authors
- Name
- Đặng Quang Dũng
- admin@dung.men
Table of Contents
Chiếc máy đọc sách đầu tiên mà mình sở hữu là Kobo Libra 2...
Sửa lỗi font tiếng Việt và cài đặt từ điển
Truy cập đường dẫn này để tải file
KoboRoot.tgz
tương ứng với firmware và thiết bị về máy tính. Kết nối máy đọc sách với máy tính sau đó copyKoboRoot.tgz
vào thư mục/.kobo
của máy đọc sách rồi Eject máy đọc sách để bản patch được cài đặtTải công cụ
dictutil
tại đây và set quyền dev cho công cụdictutil-darwin-64bit
sudo xattr -cr /Users/om/Downloads/kobo/TuDien_v0.4.0/dictutil-darwin-64bit
- Chạy lệnh
chmod
cấp quyền thực thi cho file chạydictutil-darwin-64bit
sau khi tải về
chmod +x dictutil-darwin-64bit
- Tải từ điển tại đây. Sau khi kết nối máy đọc sách với pc qua cable thì chạy lệnh cài từ điển:
./dictutil-darwin-64bit install dicthtml-vi-en.zip
Cài KoReader
- Tham khảo One-Click Install Packages for KOReader & Plato và xem video tại đây
- Tải KoReader từ github tại đây và làm theo hướng dẫn dành cho thiết bị Kobo tại đây
Cài menu
Cách tạo font Tiếng Việt cho Kobo
Nói chính xác hơn là lấy 2 font có hỗ trợ Tiếng Việt, sau đó làm giả thông tin thành font Avenir Next
, Georgia
, Rakuten Sans
và Rakuten Serif
.
Chuẩn bị font
Tải font từ Google Fonts, hoặc từ nguồn nào khác tùy thích như font hệ thống chẳng hạn:
- Linux:
/usr/share/fonts
- Windows:
C:\Windows\Fonts
Lưu ý khi chọn font:
- Có hỗ trợ Tiếng Việt.
- Nên có 2 loại font khác nhau: Serif (có gạch chân), Sans-serif (không có gạch chân).
- Nên có đủ 4 kiểu: thường (Regular hoặc không), đậm (Bold), nghiêng (Italic), đậm-nghiêng (BoldItalic).
Đổi thông tin font
Tải và cài đặt FontForge.
Font Style Export Fontname Family Name Name For Human Sans-serif Regular Avenir.ttf AvenirNext Avenir Next Avenir Next Sans-serif Bold Avenir-Bold.ttf AvenirNext-Bold Avenir Next Avenir Next Bold Sans-serif Italic Avenir-Italic.ttf AvenirNext-Italic Avenir Next Avenir Next Italic Sans-serif Bold Italic Avenir-BoldItalic.ttf AvenirNext-BoldItalic Avenir Next Avenir Next Bold Italic Serif Regular georgia.ttf Georgia Georgia Georgia Serif Bold georgiab.ttf Georgia-Bold Georgia Georgia Bold Serif Italic georgiai.ttf Georgia-Italic Georgia Georgia Italic Serif Bold Italic georgiaz.ttf Georgia-BoldItalic Georgia Georgia Bold Italic Sans-serif Regular RakutenSansUIApp-Regular.ttf RakutenSansUI Rakuten Sans Rakuten Sans Sans-serif Bold RakutenSansUIApp-Bold.ttf RakutenSansUI_bold Rakuten Sans Rakuten Sans Bold Sans-serif Italic RakutenSansUIApp-Italic.ttf RakutenSansUI_it Rakuten Sans Rakuten Sans Italic Sans-serif Bold Italic RakutenSansUIApp-BoldItalic.ttf RakutenSansUI_bold_it Rakuten Sans Rakuten Sans Bold Italic Serif Regular RakutenSerifApp-Regular.ttf RakutenSerif Rakuten Serif Rakuten Serif Serif Bold RakutenSerifApp-Bold.ttf RakutenSerif_bold Rakuten Serif Rakuten Serif Bold Serif Italic RakutenSerifApp-Italic.ttf RakutenSerif_it Rakuten Serif Rakuten Serif Italic Serif Bold Italic RakutenSerifApp-BoldItalic.ttf RakutenSerif_bold_it Rakuten Serif Rakuten Serif Bold Italic Mở font đã tải bằng FontForge và sửa theo bảng trên:
- Element > Font Info: Điền 3 mục Fontname, Family Name và Name For Human.
- File > Generate Fonts:
- Lưu tên file đúng như cột Export.
- Chọn loại TrueType - No Bitmap Fonts.
- Bỏ check mục Validate Before Saving.
Tạo file KoboRoot.tgz
Tạo cây thư mục: KoboRoot/usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/.
mkdir -p KoboRoot/usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts
Chép các kiểu font đã sửa ở trên vào thư mục fonts, sau đó tạo file nén tgz:
cd KoboRoot
tar czf KoboRoot.tgz ./usr