Commit 87a5b279 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

тест

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68409 954022d7-b5bf-4e40-9824-e11837661b57
parent cdc97eba
<!doctype html>
<html>
<head>
<title>FontEngine</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=IE8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<script type="text/javascript" src="../Freetype/config.js"></script>
<script type="text/javascript" src="../Freetype/base.js"></script>
<script type="text/javascript" src="../Freetype/services.js"></script>
<script type="text/javascript" src="../Freetype/modules/psaux.js"></script>
<script type="text/javascript" src="../Freetype/modules/psnames.js"></script>
<script type="text/javascript" src="../Freetype/modules/render.js"></script>
<script type="text/javascript" src="../Freetype/modules/sfnt.js"></script>
<script type="text/javascript" src="../Freetype/drivers/truetype.js"></script>
<script type="text/javascript" src="../Freetype/drivers/cff.js"></script>
<script type="text/javascript" src="../Freetype/drivers/cid.js"></script>
<script type="text/javascript" src="../Freetype/drivers/t1.js"></script>
<script type="text/javascript" src="../Freetype/drivers/ttinterp.js"></script>
<script type="text/javascript" src="../Freetype/freetype.js"></script>
</head>
<body>
<input type="file" id="input" multiple onchange="handleFiles(this.files)" />
<script>
function LoadFont(_array_buffer)
{
console.log(_array_buffer.length);
}
function handleFiles(_files)
{
var reader = new FileReader();
reader.onload = (function() { return function(e) {
LoadFont(new Uint8Array(e.target.result));
};
})();
reader.readAsArrayBuffer(_files[0]);
}
</script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment