Skip to content

Commit

Permalink
Merge pull request #1531 from rvilarl/fix/1523/bravuraLelandPetaluma
Browse files Browse the repository at this point in the history
Fix/1523/bravura leland petaluma
  • Loading branch information
ronyeh authored Mar 8, 2023
2 parents 5a2bbb0 + bd9b7ce commit 9d7ab82
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 1,149 deletions.
4 changes: 2 additions & 2 deletions entry/vexflow-font-bravura.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
// Then you will need to import the xxx_glyphs.ts and xxx_metrics.ts files.

import { BravuraFont } from '../src/fonts/bravura_glyphs';
import { BravuraMetrics } from '../src/fonts/bravura_metrics';
import { CommonMetrics } from '../src/fonts/common_metrics';

export const Font = {
data: BravuraFont,
metrics: BravuraMetrics,
metrics: CommonMetrics,
};

export default Font;
4 changes: 2 additions & 2 deletions entry/vexflow-font-leland.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 { LelandFont } from '../src/fonts/leland_glyphs';
import { LelandMetrics } from '../src/fonts/leland_metrics';

export const Font = {
data: LelandFont,
metrics: LelandMetrics,
metrics: CommonMetrics,
};
export default Font;
4 changes: 2 additions & 2 deletions entry/vexflow-font-petaluma.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 { PetalumaFont } from '../src/fonts/petaluma_glyphs';
import { PetalumaMetrics } from '../src/fonts/petaluma_metrics';

export const Font = {
data: PetalumaFont,
metrics: PetalumaMetrics,
metrics: CommonMetrics,
};
export default Font;
1 change: 0 additions & 1 deletion src/font.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export interface FontData {
/** Specified in the `xxx_metrics.ts` files. */
// eslint-disable-next-line
export interface FontMetrics extends Record<string, any> {
name: string;
smufl: boolean;
stave?: Record<string, number>;
accidental?: Record<string, number>;
Expand Down
Loading

0 comments on commit 9d7ab82

Please sign in to comment.