1.0.118 • Published 4 months ago

highmark-fonts v1.0.118

Weekly downloads
-
License
MIT, Anti-996
Repository
github
Last release
4 months ago

Highmark Fonts

Computer Modern fonts for Highmark.

There are twenty fonts in total, five families each provided in regular, bold, italic and bold italic forms:

  • Computer Modern Serif
  • Computer Modern Sans
  • Computer Modern Bright
  • Computer Modern Concrete
  • Computer Modern Typewriter

Admittedly there are a few other families, but they are not available in all of the aforementioned forms.

Contents

Introduction

Highmark is a document preparation system inspired by Markdown and TeX. There are several packages in the distribution.

Only the CLI tool is needed by end users. All of the other packages are likely only of interest to prospective developers.

Installation

If you would like to contribute or would simply like to have a look at the code, you can clone the repository with Git...

git clone https://github.com/djalbat/highmark-fonts.git

...and then install the dependencies with npm from within the project's root directory:

npm install

Example

There is a small development server that can be run from within the project's directory with the following command:

npm start

The example will then be available at the following URL:

http://localhost:8888

The source for the example can be found in the src/example.js file and correspondingsrc/example folder. You are encouraged to try the example whilst reading what follows. You can rebuild it on the fly with the following command:

npm run watch-debug

The development server will reload the page whenever you make changes.

One last thing to bear in mind is that this package is included by way of a relative rather than a package import. If you are importing it into your own application, however, you should use the standard package import.

Usage

Copy the font directory to your own application. In order to make use of the fonts, the @font-face CSS at-rules must be added:

import withStyle from "easy-with-style";

import { computerModernStyle } from "highmark-fonts";

const { renderStyle } = withStyle;

renderStyle(computerModernStyle());

You can pass a host argument to the computerModernStyle() function, if necessary. This will be prepended to the URLs of the font files. If you need further clarification then take a look at the source.

Building

Automation is done with npm scripts, have a look at the package.json file. The pertinent commands are:

npm run build-debug
npm run watch-debug

Acknowledgements

Contact

  • james.smith@djalbat.com
1.0.101

6 months ago

1.0.100

7 months ago

1.0.107

6 months ago

1.0.106

6 months ago

1.0.109

6 months ago

1.0.108

6 months ago

1.0.103

6 months ago

1.0.102

6 months ago

1.0.105

6 months ago

1.0.104

6 months ago

1.0.88

8 months ago

1.0.89

8 months ago

1.0.110

6 months ago

1.0.112

5 months ago

1.0.111

6 months ago

1.0.118

4 months ago

1.0.117

4 months ago

1.0.114

5 months ago

1.0.113

5 months ago

1.0.116

4 months ago

1.0.115

4 months ago

1.0.91

8 months ago

1.0.90

8 months ago

1.0.95

8 months ago

1.0.94

8 months ago

1.0.93

8 months ago

1.0.92

8 months ago

1.0.99

8 months ago

1.0.98

8 months ago

1.0.97

8 months ago

1.0.96

8 months ago

1.0.79

11 months ago

1.0.80

11 months ago

1.0.84

9 months ago

1.0.83

9 months ago

1.0.82

9 months ago

1.0.81

11 months ago

1.0.87

9 months ago

1.0.86

9 months ago

1.0.85

9 months ago

1.0.62

1 year ago

1.0.61

1 year ago

1.0.60

1 year ago

1.0.66

1 year ago

1.0.65

1 year ago

1.0.64

1 year ago

1.0.63

1 year ago

1.0.69

1 year ago

1.0.68

1 year ago

1.0.67

1 year ago

1.0.73

1 year ago

1.0.72

1 year ago

1.0.71

1 year ago

1.0.70

1 year ago

1.0.77

1 year ago

1.0.76

1 year ago

1.0.75

1 year ago

1.0.74

1 year ago

1.0.78

11 months ago

1.0.55

1 year ago

1.0.54

1 year ago

1.0.53

1 year ago

1.0.59

1 year ago

1.0.58

1 year ago

1.0.57

1 year ago

1.0.56

1 year ago

1.0.51

1 year ago

1.0.50

1 year ago

1.0.52

1 year ago

1.0.49

1 year ago

1.0.48

1 year ago

1.0.47

1 year ago

1.0.46

1 year ago

1.0.45

1 year ago

1.0.44

1 year ago

1.0.43

1 year ago

1.0.42

1 year ago

1.0.41

1 year ago

1.0.39

1 year ago

1.0.38

1 year ago

1.0.37

1 year ago

1.0.19

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.33

1 year ago

1.0.32

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.0.36

1 year ago

1.0.35

1 year ago

1.0.34

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago