Пример #1
0
                    onSuccess: function(binaryData) {
                        setFont(binaryData);

                        var otfReader = new otfreader();
                        var data = otfReader.read(binaryData);
                        console.log(data);
                        showOTFGlyf(data);
                    },
Пример #2
0
            reader.onload = function(e) {
                var binaryData = e.target.result;
                setFont(binaryData);

                var otfReader = new otfreader();
                var data = otfReader.read(binaryData);
                console.log(data);
                showOTFGlyf(data);
            }