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



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

Rank: Newbie

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


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


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

Source=<Cannot evaluate the exception source>


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

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

My font creation is like this:

var fontArabic = new CustomFontRegistry(FontRegistry.Installed);
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

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

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 75 time(s) in 73 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.