Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saturngod/mmepub
myanmar font embed in epub
https://github.com/saturngod/mmepub
Last synced: 2 months ago
JSON representation
myanmar font embed in epub
- Host: GitHub
- URL: https://github.com/saturngod/mmepub
- Owner: saturngod
- Created: 2011-05-06T12:35:07.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-08-08T13:27:28.000Z (over 1 year ago)
- Last Synced: 2024-04-08T17:01:59.790Z (9 months ago)
- Language: Python
- Homepage:
- Size: 171 KB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This version is 1.5 alpha version and written on python 3
Requirement
===========
Python 3 or laterSupported epub generator
===========
1. epubgen.jar
2. pages (export to epub)
3. calibre (tested with version 0.8)
4. InDesign (tested with CS 5)How to use
===========Add all .epub file in same path of convert.py and convert with following command
$python convert.py [font family] [font file]
Font File
----------If you want to use custom file , add font.ttf in data/[your font file].ttf
Example :
$python3 convert.py "Pyidaungsu" Pyidaungsu-Book.ttfPyidaungsu-Book.ttf must be in *data* folder (**data/Pyidaungsu-Book.ttf**)
Add Cover
-----------If you want to add cover, your **.epub and [cover].png must be same name**.
Example :
Epub file : myBook.epub , Cover file: myBook.pngFAQ
===========### Got error message IOError: [Errno 20] Not a directory:
It's a bug of python 2.6. Please, upgrade to python 2.7 or patched the latest python 2.6 zip file.
Read more about bug in [here](http://stackoverflow.com/questions/2928373/extracting-a-app-from-a-zip-file-in-python-using-zipfile/2935330#2935330 "").
Change Log
==========**Aug 8, version 1.6**
* Fixed for pyhton3
**Feb 8 , version 1.5**
* support cover
* support custom font