Skip to content

jpfont_demo.js didn't show jp characters in node.js #14

@manyeung

Description

@manyeung

It only displays the path but not the content inside the txt file

2016-05-06 1 26 40

https://github.com/manuels/hpdf.js/blob/master/demo/jpeg_demo.js#L100

  // this code is called in nodejs
  for(var url in resources)
    resources[url] = url;

I tried fs.readFile to get the content but output file did not show characters properly. How can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions