Skip to content

Commit

Permalink
remove custom metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
rvilarl committed Apr 14, 2023
1 parent 23b5a16 commit 4ebd76f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions entry/vexflow-font-custom.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// [VexFlow](https://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
// MIT License

import { CommonMetrics } from '../src/fonts/common_metrics';
import { CustomFont } from '../src/fonts/custom_glyphs';
import { CustomMetrics } from '../src/fonts/custom_metrics';

export const Font = {
data: CustomFont,
metrics: CustomMetrics,
metrics: CommonMetrics,
};
export default Font;
5 changes: 0 additions & 5 deletions src/fonts/custom_metrics.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/fonts/load_custom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// MIT License

import { Font } from '../font';
import { CommonMetrics } from './common_metrics';
import { CustomFont } from './custom_glyphs';
import { CustomMetrics } from './custom_metrics';

export function loadCustom() {
Font.load('Custom', CustomFont, CustomMetrics);
Font.load('Custom', CustomFont, CommonMetrics);
}

0 comments on commit 4ebd76f

Please sign in to comment.