|
@@ -992,7 +992,7 @@ namespace PDF_Master.ViewModels.PropertyPanel.PDFEdit
|
|
CurrentPresetFont = new ComboDataItem("Custom", "Custom");
|
|
CurrentPresetFont = new ComboDataItem("Custom", "Custom");
|
|
GetCurrentFontSize((int)TextEditEvent.FontSize);
|
|
GetCurrentFontSize((int)TextEditEvent.FontSize);
|
|
|
|
|
|
- GetCurrentFontFamily("Helvetica", "Helvetica");
|
|
|
|
|
|
+ GetCurrentFontFamily(TextEditEvent.FontName, TextEditEvent.FontName);
|
|
GetFontWeights_Style(TextEditEvent.IsItalic ? FontStyles.Italic : FontStyles.Normal, TextEditEvent.IsBold ? FontWeights.Bold : FontWeights.Normal);
|
|
GetFontWeights_Style(TextEditEvent.IsItalic ? FontStyles.Italic : FontStyles.Normal, TextEditEvent.IsBold ? FontWeights.Bold : FontWeights.Normal);
|
|
}
|
|
}
|
|
else
|
|
else
|