skishore / makemeahanzi

Free, open-source Chinese character data

Home Page:https://www.skishore.me/makemeahanzi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use the tool to create a similar database for Taiwanese character standards?

konstantinhenke opened this issue · comments

Hi skishore!

I'm in the process of creating stroke order data for traditional Chinese characters following the Taiwanese standard for stroke order and placement (which I consider essential in learning apps, considering Han-unification). After I found this font publicly available on an official website of the Taiwanese government, I happened to find the Make Me a Hanzi project and your amazing tool! I'm wondering if it might also work for a different (but obviously very similar) font, which would save me probably hundreds of hours of manual work since I'm not sure I would be able to recreate/reverse-engineer your stroke extractor. In #37 I found your hints as for how to get it working, but I'm still stuck at the same stage as @olivernyc back then:

Screenshot from 2021-02-05 19-59-43

Opening the console will get me this:

Exception in delivering result of invoking 'getNextGlyph': changeGlyph/<@http://localhost:3000/app/app.js?hash=e6316128b50cf4ef466984c5e9ea2f0df7e4a10c:14139:5
Meteor.bindEnvironment/<@http://localhost:3000/packages/meteor.js?hash=ae8b8affa9680bf9720bd8f7fa112f13a62f71c3:1105:22
_maybeInvokeCallback@http://localhost:3000/packages/ddp-client.js?hash=27502404fad7fc072e57e8b0b6719f40d92709c7:3557:12
receiveResult@http://localhost:3000/packages/ddp-client.js?hash=27502404fad7fc072e57e8b0b6719f40d92709c7:3577:10
_livedata_result@http://localhost:3000/packages/ddp-client.js?hash=27502404fad7fc072e57e8b0b6719f40d92709c7:4742:9
onMessage@http://localhost:3000/packages/ddp-client.js?hash=27502404fad7fc072e57e8b0b6719f40d92709c7:3385:12
_launchConnection/self.socket.onmessage/<@http://localhost:3000/packages/ddp-client.js?hash=27502404fad7fc072e57e8b0b6719f40d92709c7:2736:19
_.forEach@http://localhost:3000/packages/underscore.js?hash=27b3d669b418de8577518760446467e6ff429b1e:149:11
_launchConnection/self.socket.onmessage@http://localhost:3000/packages/ddp-client.js?hash=27502404fad7fc072e57e8b0b6719f40d92709c7:2735:11
REventTarget.prototype.dispatchEvent@http://localhost:3000/packages/ddp-client.js?hash=27502404fad7fc072e57e8b0b6719f40d92709c7:175:22
SockJS.prototype._dispatchMessage@http://localhost:3000/packages/ddp-client.js?hash=27502404fad7fc072e57e8b0b6719f40d92709c7:1160:10
SockJS.prototype._didMessage@http://localhost:3000/packages/ddp-client.js?hash=27502404fad7fc072e57e8b0b6719f40d92709c7:1218:18
SockJS.websocket/that.ws.onmessage@http://localhost:3000/packages/ddp-client.js?hash=27502404fad7fc072e57e8b0b6719f40d92709c7:1365:17

I still tried Meteor.call('restore'); as suggested in #37 but it returns undefined. I'm running Fedora and it seems like mongodump and mongorestore are not available for that, might that be the problem?

Also, where would I have to put the .ttf file and what changes would I have to make to get your tool to use the new font as an input?

Your help would be greatly appreciated!

@konstantiin, I think you would gain to joint this sister project, which focuses on locales : https://github.com/parsimonhi/animCJK/ . Cc @parsimonhi

See also parsimonhi/animCJK#1