@alt1/font-loader
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.6 • Public • Published

Alt1 Font Loader

This loader creates font definitions for ocr using raw font images.

Installation

npm i @alt1/font-loader -s

Usage

You will need both this loader and @alt1/imagedata-loader installed in your webpack config

//webpack.config.json

module.exports={
	...
	module: {
		rules: [
			...
			{
				test: /\.data.png$/,
				loader: ['@alt1/imagedata-loader']
			},
			{
				test: /\.fontmeta.json$/,
				loader: ["@alt1/font-loader"]
			}
		]
	}
}

Readme

Keywords

none

Package Sidebar

Install

npm i @alt1/font-loader

Weekly Downloads

14

Version

1.0.0-alpha.6

License

none

Unpacked Size

22.2 kB

Total Files

9

Last publish

Collaborators

  • skillbert