Skip to content

Commit 4ebd76f

Browse files
committed
remove custom metrics
1 parent 23b5a16 commit 4ebd76f

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

entry/vexflow-font-custom.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// [VexFlow](https://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
22
// MIT License
33

4+
import { CommonMetrics } from '../src/fonts/common_metrics';
45
import { CustomFont } from '../src/fonts/custom_glyphs';
5-
import { CustomMetrics } from '../src/fonts/custom_metrics';
66

77
export const Font = {
88
data: CustomFont,
9-
metrics: CustomMetrics,
9+
metrics: CommonMetrics,
1010
};
1111
export default Font;

src/fonts/custom_metrics.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/fonts/load_custom.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// MIT License
33

44
import { Font } from '../font';
5+
import { CommonMetrics } from './common_metrics';
56
import { CustomFont } from './custom_glyphs';
6-
import { CustomMetrics } from './custom_metrics';
77

88
export function loadCustom() {
9-
Font.load('Custom', CustomFont, CustomMetrics);
9+
Font.load('Custom', CustomFont, CommonMetrics);
1010
}

0 commit comments

Comments
 (0)