Browse Source

Fix hello world example

Julian Viereck 14 years ago
parent
commit
a6180830f8
  1. 3
      examples/helloworld/index.html
  2. 1
      fonts.js

3
examples/helloworld/index.html

@ -7,6 +7,9 @@
<script type="text/javascript" src="../../metrics.js"></script> <script type="text/javascript" src="../../metrics.js"></script>
<script type="text/javascript" src="../../fonts.js"></script> <script type="text/javascript" src="../../fonts.js"></script>
<script type="text/javascript" src="../../glyphlist.js"></script> <script type="text/javascript" src="../../glyphlist.js"></script>
<script type="text/javascript" src="../../worker.js"></script>
<script type="text/javascript" src="../../worker/message_handler.js"></script>
<script type="text/javascript" src="../../worker/processor_handler.js"></script>
<script type="text/javascript" src="hello.js"></script> <script type="text/javascript" src="hello.js"></script>
</head> </head>

1
fonts.js

@ -150,7 +150,6 @@ var FontLoader = {
// to the page already and we don't have to do anything for this font // to the page already and we don't have to do anything for this font
// here future. // here future.
if (font.fontObj) { if (font.fontObj) {
console.log('got already', font.properties.loadedName);
continue; continue;
} }

Loading…
Cancel
Save