0.1.4 • Published 2 years ago

aframe-japanese-font v0.1.4

Weekly downloads
9
License
MIT
Repository
github
Last release
2 years ago

aframe-japanese-font

npm version License: MIT

Line up

Noto Sans CJK JP

  • 常用漢字 + 人名用漢字

M+ FONTS

  • 常用漢字 + 人名用漢字

ふい字

  • 常用漢字 + 人名用漢字

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>

Publish

  • Update the source, do npm run build and commit it.
  • Increment the version in package.json.(not to commit)
  • And then:
  npm run release -- --release-as [version]
  git push --follow-tags origin main
  npm publish
0.1.4

2 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago