Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
bulente  
#1 Posted : Wednesday, August 30, 2017 1:45:47 AM(UTC)
bulente

Rank: Newbie

Groups: Member
Joined: 8/30/2017(UTC)
Posts: 1

Hello,

I'm trying graphics mill capabilities with google's Noto family of fonts. All the different Unicode fonts like Japanese, Korean..etc works perfectly except Arabic.

I used Noto Kufi Arabic font for this language and when the program hits the MeasureString function, it gives this error:

System.AccessViolationException occurred

HResult=0x80004003

Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Source=<Cannot evaluate the exception source>

StackTrace:

at Aurigma.GraphicsMill.AdvancedDrawing.Text.GetBlackBox()

at Aurigma.GraphicsMill.AdvancedDrawing.Font.MeasureString(String value)

My font creation is like this:

Code:
var fontArabic = new CustomFontRegistry(FontRegistry.Installed);
fontArabic.Add(@"C:\Windows\Fonts\NotoKufiArabic-Regular.ttf");
var testfont = fontArabic.CreateFont("Noto Kufi Arabic", "Regular", 24, graphics.DpiX, graphics.DpiX);
var noMeasure = testfont.MeasureString("وضع نقطة في دائرة رقم الخاص بك الرقم بالنظر إلى الإشارة. نقطة واحدة في كل مربع. اتركه فارغاً ل 0");

Am I doing wrong or is there a bug for Arabic? I'm using the latest version.

Edited by moderator Wednesday, August 30, 2017 2:34:29 AM(UTC)  | Reason: Formatting

Fedor  
#2 Posted : Wednesday, August 30, 2017 3:28:04 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,558

Thanks: 5 times
Was thanked: 62 time(s) in 61 post(s)
We confirm the problem (Aurigma Bug #0023750) and will fix it in the next release.

I will keep you informed of the status.

Best regards,

Fedor Skvortsov

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.