|
@@ -171,6 +171,7 @@ class KMEditPDFTextPropertyViewController: NSViewController {
|
|
|
}
|
|
|
|
|
|
fontNameVC = KMDesignSelect.init(withType: .PopButton)
|
|
|
+ fontNameVC?.isScrollPop = true
|
|
|
fontNameBox.contentView = fontNameVC?.view
|
|
|
fontNameBox.fillColor = NSColor.clear
|
|
|
fontNameVC?.addItems(withObjectValues: fontNameArray)
|
|
@@ -247,6 +248,8 @@ class KMEditPDFTextPropertyViewController: NSViewController {
|
|
|
if self.selectAreas.count > 0 {
|
|
|
textsAreas = []
|
|
|
|
|
|
+ fontNameVC?.addItems(withObjectValues: KMEditPDFTextManager.manager.fetchTextFontNames())
|
|
|
+
|
|
|
let areas = self.selectAreas
|
|
|
self.alignmentView.editingAreas = areas
|
|
|
for i in 0 ... areas.count-1 {
|