Skip to content

h-nakae/aframe-japanese-font

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aframe-japanese-font

npm version License: MIT

Line up

  • 常用漢字 + 人名用漢字
  • 常用漢字 + 人名用漢字
  • 常用漢字 + 人名用漢字

Install

Install with npm:

npm install aframe-japanese-font

CAUTION: these files are very large. It is recommended that you do not import directly and treat them as static files. For example, deploy them to public folders and retrieve them on demand.

Usage

it needs [font name]-msdf.json and [font name]-msdf.png.

<a-scene>
  <a-text
    value="こんにちは世界!"
    font="noto-sans-cjk-jp-msdf.json"
    font-image="noto-sans-cjk-jp-msdf.png"
    negate="false"
    scale="2 2 1"
    position="0 1 -4"
  >
  </a-text>
</a-scene>

About

japanese fonts for aframe

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%