
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@akashic/bmpfont-generator
Advanced tools
ttfファイルからビットマップフォントを作成するためのツールです。
このソフトウェアはcanvas
モジュールに依存しています。canvas
モジュールの動作のためにcairo
をインストールしておく必要があります。cairo
のインストール方法はcanvas
モジュールのREADMEを参照してください。
$ npm install -g @akashic/bmpfont-generator
ビットマップフォントの描画に使用するTrueTypeフォント(ttf形式)のファイル名と、出力されるビットマップフォント(png形式)のファイル名を指定してください。
$ bmpfont-generator infile.ttf outfile.png
$ bmpfont-generator --help
オプション | 短縮名 | 効果 | 必須 | デフォルト値 |
---|---|---|---|---|
--height <size> | -H | 文字の縦サイズ(px) | 13 | |
--fixed-width <size> | -w | 文字の横サイズ(px) 。指定した場合、文字の幅に関わらずsizeを幅の値とする | ||
--chars <string> | -c | 書きだす文字の羅列 | 0-9,a-Z,各種記号 | |
--chars-file <filepath> | -f | 書き出す文字が羅列されたテキストファイルのパス | ||
--missing-glyph <char> | -m | -cの指定に含まれない文字の代わりに用いる代替文字 | フォントが持つ代替文字 | |
--missing-glyph-image <filepath> | -M | 代替文字として用いる画像ファイルのパス | ||
--fill <fillstyle> | -F | フィルスタイル | #000000 | |
--stroke <strokestyle> | -S | ストロークスタイル | #000000 | |
--quality <quality> | -Q | 1-100の画質。指定する場合、 pngquant が必要 | 圧縮しない | |
--baseline <baseline> | ベースライン | 自動で計算された値 | ||
--no-anti-alias | アンチエイリアス無効化 | |||
--json <filepath> | jsonファイルを書き出すパス | <outfileName>_glyphs.json | ||
--no-json | jsonファイルを出力しない | |||
--margin | 文字間の余白(px) | 1 |
本リポジトリは MIT License の元で公開されています。 詳しくは LICENSE をご覧ください。
ただし、画像ファイルおよび音声ファイルは CC BY 2.1 JP の元で公開されています。
FAQs
generate bitmap fonts from TrueType fonts
We found that @akashic/bmpfont-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.