harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4526) [classlib][awt] GDIPTextRenderer can not draw hieroglyphs
Date Tue, 04 Sep 2007 09:56:58 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524656
] 

Alexei Zakharov commented on HARMONY-4526:
------------------------------------------

Guys, the issue can be solved by placing the following file in %DRLVM_JRE_HOME%\lib\font.properties
file:

font.properties:
---
dialog.plain.0=Times New Roman,English
dialog.bold.0=Times New Roman Bold,English
dialog.italic.0=Times New Roman Italic,English
dialog.bolditalic.0=Times New Roman Bold Italic,English

filename.Times_New_Roman=C:/WINDOWS/Fonts/tomes.ttf
filename.Times_New_Roman_Bold=C:/WINDOWS/Fonts/timesbd.ttf
filename.Times_New_Roman_Italic=C:/WINDOWS/Fonts/timesi.ttf
filename.Times_New_Roman_Bold_Italic=C:/WINDOWS/Fonts/timesbi.ttf

dialog.plain.1=MingLiU,Chinese
dialog.bold.1=MingLiU,Chinese
dialog.italic.1=MingLiU,Chinese
dialog.bolditalic.1=MingLiU,Chinese

filename.MingLiU=C:/WINDOWS/Fonts/mingliu.ttc
---

However, the file format isn't described anywhere. I'll write a message to the mailing list
about this.

> [classlib][awt] GDIPTextRenderer can not draw hieroglyphs
> ---------------------------------------------------------
>
>                 Key: HARMONY-4526
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4526
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Windows
>            Reporter: Alexey Petrenko
>            Assignee: Alexey Petrenko
>         Attachments: Harmony4526.PNG, Harmony4526Test.java
>
>
> GDIPTextRenderer can not draw hieroglyphs now. It draws small squares instead of.
> I've changed Graphics::DrawDriverString to Graphics::DrawString (winFont.cpp:1629) and
hieroglyphs became visible.
> At the same time Graphics::DrawDriverString accepts string to draw in Unicode so this
function should draw all the characters too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message