Skip to content

Commit cd3559b

Browse files
committed
(#63, #338, #339, #340, #341) Code review changes
Clarify docs, change type visibility, fix namespaces, connect TODOs with the issues.
1 parent 7a4dc3e commit cd3559b

21 files changed

Lines changed: 198 additions & 201 deletions

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1717
- `RenderGlyphRun` has been replaced with `RenderCharacter` method (not reliant on any WPF-specific types),
1818
- `RenderRectangle` now receives an instance of a new `WpfMath.Rendering.Rectangle` type (decoupled from WPF).
1919
- `WpfMath.TexRenderer` is now obsolete. Consult the documentation on new recommended ways to perform custom rendering. There are new extension methods in two classes (`WpfMath.Rendering.WpfTeXFormulaExtensions` and `WpfMath.Rendering.TeXFormulaExtensions`) that are the main way to render formulae now.
20+
- **(Breaking change.)** `WpfMath.TexFormnula::GetRenderer` is gone. Create a `TexRenderer` using constructor (obsolete) or use the aforementioned extension methods instead.
2021

2122
### Added
2223
- `WpfMath.CharInfo`: a new public type to work with a font character. Use `WpfMath.Fonts.WpfCharInfoEx::GetGlyphRun` if you need to get a `System.Windows.Media.GlyphRun` from it.
2324
- `WpfMath.Rendering.WpfTeXFormulaExtensions` to render a `WpfMath.TexFormula` into a `System.Windows.Media.Imaging.BitmapSource` or `System.Windows.Media.Geometry`.
2425
- New classes for WPF-Math porting to platforms other than WPF (consult the `WpfMath.Rendering.IElementRenderer` interface and `TexFormulaParser` constructor parameters to know more).
25-
26+
- `WpfMath.Colors.RgbaColor` as a new portable color representation.
27+
- `WpfMath.Fonts.IFontProvider`: implement this interface to provide alternate font reading functionality.
28+
- `WpfMath.Fonts.ITeXFont`: implement this interface to provide access to a platform-specific font resource.
29+
- `WpfMath.Rendering.IBrushFactory`: implement this interface to provide access to creation of platform-specific solid-colored brushes.
30+
- `WpfMath.TeXFontMetrics` that contains some measurements of a font glyph.
31+
- An utility `Result` struct is now public.
2632

2733
## [0.12.0] - 2023-01-07
2834
### Added

src/WpfMath.ApiTest/api/WpfMath.Shared.net452.verified.cs

Lines changed: 44 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -41,46 +41,6 @@ public partial class FormulaNotFoundException : System.Exception
4141
{
4242
internal FormulaNotFoundException() { }
4343
}
44-
public partial interface ITeXFont
45-
{
46-
double Size { get; }
47-
bool SupportsMetrics { get; }
48-
double GetAxisHeight(WpfMath.TexStyle style);
49-
double GetBigOpSpacing1(WpfMath.TexStyle style);
50-
double GetBigOpSpacing2(WpfMath.TexStyle style);
51-
double GetBigOpSpacing3(WpfMath.TexStyle style);
52-
double GetBigOpSpacing4(WpfMath.TexStyle style);
53-
double GetBigOpSpacing5(WpfMath.TexStyle style);
54-
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(char character, string textStyle, WpfMath.TexStyle style);
55-
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(string name, WpfMath.TexStyle style);
56-
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(WpfMath.CharFont charFont, WpfMath.TexStyle style);
57-
WpfMath.Utils.Result<WpfMath.CharInfo> GetDefaultCharInfo(char character, WpfMath.TexStyle style);
58-
double GetDefaultLineThickness(WpfMath.TexStyle style);
59-
double GetDenom1(WpfMath.TexStyle style);
60-
double GetDenom2(WpfMath.TexStyle style);
61-
WpfMath.ExtensionChar GetExtension(WpfMath.CharInfo charInfo, WpfMath.TexStyle style);
62-
double GetKern(WpfMath.CharFont leftChar, WpfMath.CharFont rightChar, WpfMath.TexStyle style);
63-
WpfMath.CharFont? GetLigature(WpfMath.CharFont leftChar, WpfMath.CharFont rightChar);
64-
int GetMuFontId();
65-
WpfMath.CharInfo GetNextLargerCharInfo(WpfMath.CharInfo charInfo, WpfMath.TexStyle style);
66-
double GetNum1(WpfMath.TexStyle style);
67-
double GetNum2(WpfMath.TexStyle style);
68-
double GetNum3(WpfMath.TexStyle style);
69-
double GetQuad(int fontId, WpfMath.TexStyle style);
70-
double GetSkew(WpfMath.CharFont charFont, WpfMath.TexStyle style);
71-
double GetSpace(WpfMath.TexStyle style);
72-
double GetSub1(WpfMath.TexStyle style);
73-
double GetSub2(WpfMath.TexStyle style);
74-
double GetSubDrop(WpfMath.TexStyle style);
75-
double GetSup1(WpfMath.TexStyle style);
76-
double GetSup2(WpfMath.TexStyle style);
77-
double GetSup3(WpfMath.TexStyle style);
78-
double GetSupDrop(WpfMath.TexStyle style);
79-
double GetXHeight(WpfMath.TexStyle style, int fontId);
80-
bool HasNextLarger(WpfMath.CharInfo charInfo);
81-
bool HasSpace(int fontId);
82-
bool IsExtensionChar(WpfMath.CharInfo charInfo);
83-
}
8444
public enum MatrixCellAlignment
8545
{
8646
Left = 0,
@@ -152,14 +112,14 @@ public enum TexDelimiter
152112
}
153113
public sealed partial class TexEnvironment : System.IEquatable<WpfMath.TexEnvironment>
154114
{
155-
public TexEnvironment(WpfMath.TexStyle Style, WpfMath.ITeXFont MathFont, WpfMath.ITeXFont TextFont, WpfMath.Rendering.IBrush? Background = null, WpfMath.Rendering.IBrush? Foreground = null) { }
115+
public TexEnvironment(WpfMath.TexStyle Style, WpfMath.Fonts.ITeXFont MathFont, WpfMath.Fonts.ITeXFont TextFont, WpfMath.Rendering.IBrush? Background = null, WpfMath.Rendering.IBrush? Foreground = null) { }
156116
public WpfMath.Rendering.IBrush? Background { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
157117
public WpfMath.Rendering.IBrush? Foreground { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
158-
public WpfMath.ITeXFont MathFont { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
118+
public WpfMath.Fonts.ITeXFont MathFont { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
159119
public WpfMath.TexStyle Style { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
160-
public WpfMath.ITeXFont TextFont { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
120+
public WpfMath.Fonts.ITeXFont TextFont { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
161121
[System.Runtime.CompilerServices.CompilerGeneratedAttribute]
162-
public void Deconstruct(out WpfMath.TexStyle Style, out WpfMath.ITeXFont MathFont, out WpfMath.ITeXFont TextFont, out WpfMath.Rendering.IBrush? Background, out WpfMath.Rendering.IBrush? Foreground) { throw null; }
122+
public void Deconstruct(out WpfMath.TexStyle Style, out WpfMath.Fonts.ITeXFont MathFont, out WpfMath.Fonts.ITeXFont TextFont, out WpfMath.Rendering.IBrush? Background, out WpfMath.Rendering.IBrush? Foreground) { throw null; }
163123
[System.Runtime.CompilerServices.CompilerGeneratedAttribute]
164124
public override bool Equals(object? obj) { throw null; }
165125
[System.Runtime.CompilerServices.CompilerGeneratedAttribute]
@@ -189,7 +149,6 @@ public TexFormula() { }
189149
public WpfMath.SourceSpan? Source { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
190150
public string? TextStyle { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
191151
public void Add(WpfMath.TexFormula formula, WpfMath.SourceSpan? source = null) { }
192-
public WpfMath.Boxes.Box CreateBox(WpfMath.TexEnvironment environment) { throw null; }
193152
public void SetBackground(WpfMath.Rendering.IBrush brush) { }
194153
public void SetForeground(WpfMath.Rendering.IBrush brush) { }
195154
}
@@ -290,12 +249,6 @@ public static partial class StandardColorParsers
290249
public static System.Collections.Generic.IReadOnlyDictionary<string, WpfMath.Colors.IColorParser> Dictionary;
291250
}
292251
}
293-
namespace WpfMath.Data
294-
{
295-
public static partial class WpfMathResourceMarker
296-
{
297-
}
298-
}
299252
namespace WpfMath.Exceptions
300253
{
301254
public partial class TexCharacterMappingNotFoundException : WpfMath.Exceptions.TexException
@@ -334,6 +287,46 @@ public partial interface IFontProvider
334287
public partial interface IFontTypeface
335288
{
336289
}
290+
public partial interface ITeXFont
291+
{
292+
double Size { get; }
293+
bool SupportsMetrics { get; }
294+
double GetAxisHeight(WpfMath.TexStyle style);
295+
double GetBigOpSpacing1(WpfMath.TexStyle style);
296+
double GetBigOpSpacing2(WpfMath.TexStyle style);
297+
double GetBigOpSpacing3(WpfMath.TexStyle style);
298+
double GetBigOpSpacing4(WpfMath.TexStyle style);
299+
double GetBigOpSpacing5(WpfMath.TexStyle style);
300+
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(char character, string textStyle, WpfMath.TexStyle style);
301+
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(string name, WpfMath.TexStyle style);
302+
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(WpfMath.CharFont charFont, WpfMath.TexStyle style);
303+
WpfMath.Utils.Result<WpfMath.CharInfo> GetDefaultCharInfo(char character, WpfMath.TexStyle style);
304+
double GetDefaultLineThickness(WpfMath.TexStyle style);
305+
double GetDenom1(WpfMath.TexStyle style);
306+
double GetDenom2(WpfMath.TexStyle style);
307+
WpfMath.ExtensionChar GetExtension(WpfMath.CharInfo charInfo, WpfMath.TexStyle style);
308+
double GetKern(WpfMath.CharFont leftChar, WpfMath.CharFont rightChar, WpfMath.TexStyle style);
309+
WpfMath.CharFont? GetLigature(WpfMath.CharFont leftChar, WpfMath.CharFont rightChar);
310+
int GetMuFontId();
311+
WpfMath.CharInfo GetNextLargerCharInfo(WpfMath.CharInfo charInfo, WpfMath.TexStyle style);
312+
double GetNum1(WpfMath.TexStyle style);
313+
double GetNum2(WpfMath.TexStyle style);
314+
double GetNum3(WpfMath.TexStyle style);
315+
double GetQuad(int fontId, WpfMath.TexStyle style);
316+
double GetSkew(WpfMath.CharFont charFont, WpfMath.TexStyle style);
317+
double GetSpace(WpfMath.TexStyle style);
318+
double GetSub1(WpfMath.TexStyle style);
319+
double GetSub2(WpfMath.TexStyle style);
320+
double GetSubDrop(WpfMath.TexStyle style);
321+
double GetSup1(WpfMath.TexStyle style);
322+
double GetSup2(WpfMath.TexStyle style);
323+
double GetSup3(WpfMath.TexStyle style);
324+
double GetSupDrop(WpfMath.TexStyle style);
325+
double GetXHeight(WpfMath.TexStyle style, int fontId);
326+
bool HasNextLarger(WpfMath.CharInfo charInfo);
327+
bool HasSpace(int fontId);
328+
bool IsExtensionChar(WpfMath.CharInfo charInfo);
329+
}
337330
}
338331
namespace WpfMath.Rendering
339332
{

src/WpfMath.ApiTest/api/WpfMath.Shared.netcoreapp3.1.verified.cs

Lines changed: 44 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -41,46 +41,6 @@ public partial class FormulaNotFoundException : System.Exception
4141
{
4242
internal FormulaNotFoundException() { }
4343
}
44-
public partial interface ITeXFont
45-
{
46-
double Size { get; }
47-
bool SupportsMetrics { get; }
48-
double GetAxisHeight(WpfMath.TexStyle style);
49-
double GetBigOpSpacing1(WpfMath.TexStyle style);
50-
double GetBigOpSpacing2(WpfMath.TexStyle style);
51-
double GetBigOpSpacing3(WpfMath.TexStyle style);
52-
double GetBigOpSpacing4(WpfMath.TexStyle style);
53-
double GetBigOpSpacing5(WpfMath.TexStyle style);
54-
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(char character, string textStyle, WpfMath.TexStyle style);
55-
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(string name, WpfMath.TexStyle style);
56-
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(WpfMath.CharFont charFont, WpfMath.TexStyle style);
57-
WpfMath.Utils.Result<WpfMath.CharInfo> GetDefaultCharInfo(char character, WpfMath.TexStyle style);
58-
double GetDefaultLineThickness(WpfMath.TexStyle style);
59-
double GetDenom1(WpfMath.TexStyle style);
60-
double GetDenom2(WpfMath.TexStyle style);
61-
WpfMath.ExtensionChar GetExtension(WpfMath.CharInfo charInfo, WpfMath.TexStyle style);
62-
double GetKern(WpfMath.CharFont leftChar, WpfMath.CharFont rightChar, WpfMath.TexStyle style);
63-
WpfMath.CharFont? GetLigature(WpfMath.CharFont leftChar, WpfMath.CharFont rightChar);
64-
int GetMuFontId();
65-
WpfMath.CharInfo GetNextLargerCharInfo(WpfMath.CharInfo charInfo, WpfMath.TexStyle style);
66-
double GetNum1(WpfMath.TexStyle style);
67-
double GetNum2(WpfMath.TexStyle style);
68-
double GetNum3(WpfMath.TexStyle style);
69-
double GetQuad(int fontId, WpfMath.TexStyle style);
70-
double GetSkew(WpfMath.CharFont charFont, WpfMath.TexStyle style);
71-
double GetSpace(WpfMath.TexStyle style);
72-
double GetSub1(WpfMath.TexStyle style);
73-
double GetSub2(WpfMath.TexStyle style);
74-
double GetSubDrop(WpfMath.TexStyle style);
75-
double GetSup1(WpfMath.TexStyle style);
76-
double GetSup2(WpfMath.TexStyle style);
77-
double GetSup3(WpfMath.TexStyle style);
78-
double GetSupDrop(WpfMath.TexStyle style);
79-
double GetXHeight(WpfMath.TexStyle style, int fontId);
80-
bool HasNextLarger(WpfMath.CharInfo charInfo);
81-
bool HasSpace(int fontId);
82-
bool IsExtensionChar(WpfMath.CharInfo charInfo);
83-
}
8444
public enum MatrixCellAlignment
8545
{
8646
Left = 0,
@@ -152,14 +112,14 @@ public enum TexDelimiter
152112
}
153113
public sealed partial class TexEnvironment : System.IEquatable<WpfMath.TexEnvironment>
154114
{
155-
public TexEnvironment(WpfMath.TexStyle Style, WpfMath.ITeXFont MathFont, WpfMath.ITeXFont TextFont, WpfMath.Rendering.IBrush? Background = null, WpfMath.Rendering.IBrush? Foreground = null) { }
115+
public TexEnvironment(WpfMath.TexStyle Style, WpfMath.Fonts.ITeXFont MathFont, WpfMath.Fonts.ITeXFont TextFont, WpfMath.Rendering.IBrush? Background = null, WpfMath.Rendering.IBrush? Foreground = null) { }
156116
public WpfMath.Rendering.IBrush? Background { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
157117
public WpfMath.Rendering.IBrush? Foreground { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
158-
public WpfMath.ITeXFont MathFont { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
118+
public WpfMath.Fonts.ITeXFont MathFont { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
159119
public WpfMath.TexStyle Style { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
160-
public WpfMath.ITeXFont TextFont { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
120+
public WpfMath.Fonts.ITeXFont TextFont { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
161121
[System.Runtime.CompilerServices.CompilerGeneratedAttribute]
162-
public void Deconstruct(out WpfMath.TexStyle Style, out WpfMath.ITeXFont MathFont, out WpfMath.ITeXFont TextFont, out WpfMath.Rendering.IBrush? Background, out WpfMath.Rendering.IBrush? Foreground) { throw null; }
122+
public void Deconstruct(out WpfMath.TexStyle Style, out WpfMath.Fonts.ITeXFont MathFont, out WpfMath.Fonts.ITeXFont TextFont, out WpfMath.Rendering.IBrush? Background, out WpfMath.Rendering.IBrush? Foreground) { throw null; }
163123
[System.Runtime.CompilerServices.CompilerGeneratedAttribute]
164124
public override bool Equals(object? obj) { throw null; }
165125
[System.Runtime.CompilerServices.CompilerGeneratedAttribute]
@@ -189,7 +149,6 @@ public TexFormula() { }
189149
public WpfMath.SourceSpan? Source { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
190150
public string? TextStyle { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
191151
public void Add(WpfMath.TexFormula formula, WpfMath.SourceSpan? source = null) { }
192-
public WpfMath.Boxes.Box CreateBox(WpfMath.TexEnvironment environment) { throw null; }
193152
public void SetBackground(WpfMath.Rendering.IBrush brush) { }
194153
public void SetForeground(WpfMath.Rendering.IBrush brush) { }
195154
}
@@ -290,12 +249,6 @@ public static partial class StandardColorParsers
290249
public static System.Collections.Generic.IReadOnlyDictionary<string, WpfMath.Colors.IColorParser> Dictionary;
291250
}
292251
}
293-
namespace WpfMath.Data
294-
{
295-
public static partial class WpfMathResourceMarker
296-
{
297-
}
298-
}
299252
namespace WpfMath.Exceptions
300253
{
301254
public partial class TexCharacterMappingNotFoundException : WpfMath.Exceptions.TexException
@@ -334,6 +287,46 @@ public partial interface IFontProvider
334287
public partial interface IFontTypeface
335288
{
336289
}
290+
public partial interface ITeXFont
291+
{
292+
double Size { get; }
293+
bool SupportsMetrics { get; }
294+
double GetAxisHeight(WpfMath.TexStyle style);
295+
double GetBigOpSpacing1(WpfMath.TexStyle style);
296+
double GetBigOpSpacing2(WpfMath.TexStyle style);
297+
double GetBigOpSpacing3(WpfMath.TexStyle style);
298+
double GetBigOpSpacing4(WpfMath.TexStyle style);
299+
double GetBigOpSpacing5(WpfMath.TexStyle style);
300+
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(char character, string textStyle, WpfMath.TexStyle style);
301+
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(string name, WpfMath.TexStyle style);
302+
WpfMath.Utils.Result<WpfMath.CharInfo> GetCharInfo(WpfMath.CharFont charFont, WpfMath.TexStyle style);
303+
WpfMath.Utils.Result<WpfMath.CharInfo> GetDefaultCharInfo(char character, WpfMath.TexStyle style);
304+
double GetDefaultLineThickness(WpfMath.TexStyle style);
305+
double GetDenom1(WpfMath.TexStyle style);
306+
double GetDenom2(WpfMath.TexStyle style);
307+
WpfMath.ExtensionChar GetExtension(WpfMath.CharInfo charInfo, WpfMath.TexStyle style);
308+
double GetKern(WpfMath.CharFont leftChar, WpfMath.CharFont rightChar, WpfMath.TexStyle style);
309+
WpfMath.CharFont? GetLigature(WpfMath.CharFont leftChar, WpfMath.CharFont rightChar);
310+
int GetMuFontId();
311+
WpfMath.CharInfo GetNextLargerCharInfo(WpfMath.CharInfo charInfo, WpfMath.TexStyle style);
312+
double GetNum1(WpfMath.TexStyle style);
313+
double GetNum2(WpfMath.TexStyle style);
314+
double GetNum3(WpfMath.TexStyle style);
315+
double GetQuad(int fontId, WpfMath.TexStyle style);
316+
double GetSkew(WpfMath.CharFont charFont, WpfMath.TexStyle style);
317+
double GetSpace(WpfMath.TexStyle style);
318+
double GetSub1(WpfMath.TexStyle style);
319+
double GetSub2(WpfMath.TexStyle style);
320+
double GetSubDrop(WpfMath.TexStyle style);
321+
double GetSup1(WpfMath.TexStyle style);
322+
double GetSup2(WpfMath.TexStyle style);
323+
double GetSup3(WpfMath.TexStyle style);
324+
double GetSupDrop(WpfMath.TexStyle style);
325+
double GetXHeight(WpfMath.TexStyle style, int fontId);
326+
bool HasNextLarger(WpfMath.CharInfo charInfo);
327+
bool HasSpace(int fontId);
328+
bool IsExtensionChar(WpfMath.CharInfo charInfo);
329+
}
337330
}
338331
namespace WpfMath.Rendering
339332
{

src/WpfMath.Shared/Atoms/CharAtom.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using WpfMath.Fonts;
12
using WpfMath.Utils;
23

34
namespace WpfMath.Atoms

src/WpfMath.Shared/Atoms/CharSymbol.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using WpfMath.Boxes;
2+
using WpfMath.Fonts;
23
using WpfMath.Utils;
34

45
namespace WpfMath.Atoms

src/WpfMath.Shared/Atoms/DummyAtom.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using WpfMath.Boxes;
2+
using WpfMath.Fonts;
23
using WpfMath.Utils;
34

45
namespace WpfMath.Atoms

src/WpfMath.Shared/Atoms/FixedCharAtom.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using WpfMath.Fonts;
12
using WpfMath.Utils;
23

34
namespace WpfMath.Atoms

0 commit comments

Comments
 (0)