Skip to content

Commit ca483a4

Browse files
committed
TextStyle
1 parent 8ddb6e5 commit ca483a4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/ACadSharp/Tables/TextStyle.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class TextStyle : TableEntry
6363
/// Last height used
6464
/// </summary>
6565
[DxfCodeValue(42)]
66-
public double LastHeight { get; set; }
66+
public double LastHeight { get; set; } = 2.5;
6767

6868
/// <summary>
6969
/// Specifies the oblique angle of the object.
@@ -94,7 +94,10 @@ public class TextStyle : TableEntry
9494
internal TextStyle() : base() { }
9595

9696
/// <inheritdoc/>
97-
public TextStyle(string name) : base(name) { }
97+
public TextStyle(string name) : base(name)
98+
{
99+
this.Flags = StyleFlags.Referenced;
100+
}
98101
}
99102
}
100103

0 commit comments

Comments
 (0)