Bug Issue: Special text (Cyrillic) crash Stencyl


Pages: 1

RulezTeam

  • Subscriber - Stencyl Studio
  • *
January 29, 2019, 01:09:13 am
Hi,
I'm on 10246, and I have a big problem when I choose custom set on font for using with cyrillic text. When I insert any characters, Stencyl give me this error :

Code: [Select]
java.lang.IllegalArgumentException: Width (10) and height (-2147483647) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:333)
at stencyl.sw.editors.font.FontPage$FontPreviewPane.renderFont(FontPage.java:1380)
at stencyl.sw.editors.font.FontPage$FontPreviewPane.refresh(FontPage.java:1298)
at stencyl.sw.editors.font.FontPage.refresh(FontPage.java:1125)
at stencyl.sw.editors.font.FontPage$RefreshListener.run(FontPage.java:231)
at stencyl.sw.editors.font.FontPage$RefreshListener.insertUpdate(FontPage.java:224)
at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201)
at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748)
at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707)
at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669)
at javax.swing.text.JTextComponent.replaceSelection(JTextComponent.java:1328)
at javax.swing.plaf.basic.BasicTextUI$TextTransferHandler.handleReaderImport(BasicTextUI.java:2362)
at javax.swing.plaf.basic.BasicTextUI$TextTransferHandler.importData(BasicTextUI.java:2502)
at javax.swing.TransferHandler.importData(TransferHandler.java:827)
at javax.swing.plaf.basic.BasicTextUI$TextTransferHandler.importData(BasicTextUI.java:2440)
at javax.swing.TransferHandler$TransferAction.actionPerformedImpl(TransferHandler.java:1766)
at javax.swing.TransferHandler$TransferAction.access$800(TransferHandler.java:1692)
at javax.swing.TransferHandler$TransferAction$1.run(TransferHandler.java:1715)
at javax.swing.TransferHandler$TransferAction$1.run(TransferHandler.java:1713)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at javax.swing.TransferHandler$TransferAction$2.run(TransferHandler.java:1730)
at javax.swing.TransferHandler$TransferAction$2.run(TransferHandler.java:1728)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at javax.swing.TransferHandler$TransferAction.actionPerformed(TransferHandler.java:1727)
at javax.swing.text.JTextComponent.invokeAction(JTextComponent.java:1462)
at javax.swing.text.JTextComponent.paste(JTextComponent.java:1440)
at javax.swing.text.DefaultEditorKit$PasteAction.actionPerformed(DefaultEditorKit.java:1363)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
at java.awt.Component.processEvent(Component.java:6312)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
« Last Edit: January 29, 2019, 01:10:56 am by RulezTeam »


rob1221

  • Master Stencyler
  • *
January 29, 2019, 07:34:35 am
Fixed in b10251.
  • Status changed from New to Resolved
  • Issue Assigned from (none) to rob1221


Pages: 1

Details

  • Reported
    January 29, 2019, 01:09:13 am
  • Updated
    January 29, 2019, 07:34:35 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    Stencyl 3.5, 3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    rob1221
  • Category
    Font Editor

Tags