You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Dmitriy Matveev (JIRA)" <ji...@apache.org> on 2007/07/26 15:32:41 UTC

[jira] Created: (HARMONY-4556) [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented

[classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented
--------------------------------------------------------------------------------------------------

                 Key: HARMONY-4556
                 URL: https://issues.apache.org/jira/browse/HARMONY-4556
             Project: Harmony
          Issue Type: Bug
            Reporter: Dmitriy Matveev


Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented of class Font is not implemented for current font library.

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


[jira] Commented: (HARMONY-4556) [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented

Posted by "Dmitriy Matveev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535543 ] 

Dmitriy Matveev commented on HARMONY-4556:
------------------------------------------

Thank you. Verified.

> [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4556
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitriy Matveev
>            Assignee: Alexei Zakharov
>         Attachments: createGlyphVector.patch
>
>
> Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) of class Font is not implemented for current font library.

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


[jira] Updated: (HARMONY-4556) [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov updated HARMONY-4556:
-------------------------------------

    Component/s: Classlib

> [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4556
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitriy Matveev
>
> Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) of class Font is not implemented for current font library.

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


[jira] Updated: (HARMONY-4556) [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented

Posted by "Dmitriy Matveev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitriy Matveev updated HARMONY-4556:
-------------------------------------

    Patch Info: [Patch Available]

> [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4556
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitriy Matveev
>         Attachments: createGlyphVector.patch
>
>
> Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) of class Font is not implemented for current font library.

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


[jira] Resolved: (HARMONY-4556) [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov resolved HARMONY-4556.
--------------------------------------

    Resolution: Fixed

> [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4556
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitriy Matveev
>            Assignee: Alexei Zakharov
>         Attachments: createGlyphVector.patch
>
>
> Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) of class Font is not implemented for current font library.

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


[jira] Commented: (HARMONY-4556) [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534239 ] 

Alexei Zakharov commented on HARMONY-4556:
------------------------------------------

Thanks, Dmitry. I've slightly corrected the code style of the patch and committed the updated version at the revision 584088. Please verify.

> [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4556
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitriy Matveev
>            Assignee: Alexei Zakharov
>         Attachments: createGlyphVector.patch
>
>
> Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) of class Font is not implemented for current font library.

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


[jira] Assigned: (HARMONY-4556) [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov reassigned HARMONY-4556:
----------------------------------------

    Assignee: Alexei Zakharov

> [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4556
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitriy Matveev
>            Assignee: Alexei Zakharov
>         Attachments: createGlyphVector.patch
>
>
> Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) of class Font is not implemented for current font library.

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


[jira] Commented: (HARMONY-4556) [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented

Posted by "Dmitriy Matveev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532109 ] 

Dmitriy Matveev commented on HARMONY-4556:
------------------------------------------

Reproducer:

import java.awt.Font;
import java.awt.Frame;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.font.FontRenderContext;
import java.awt.font.GlyphVector;

public class AATest {
    private static final String fontFamily = "Arial";

    public static void main(String[] args) {
        final Font font = new Font(fontFamily, Font.PLAIN, 30);

        Frame f = new Frame(fontFamily) {
            public void paint(Graphics g) {
                Graphics2D g2d = (Graphics2D) g;
                FontRenderContext frc = new FontRenderContext(null, false, false);
                int[] indexes = {10,100,500,300,10000};
                GlyphVector gv = font.createGlyphVector(frc, indexes);
                g2d.setFont(font);
                g2d.drawGlyphVector(gv,100,100);
            }
        };

        f.setBounds(0, 0, 800, 600);
        f.setVisible(true);

        f.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent ev) {
                System.exit(0);
            }
        });
    }
}

> [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4556
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitriy Matveev
>
> Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) of class Font is not implemented for current font library.

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


[jira] Updated: (HARMONY-4556) [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented

Posted by "Dmitriy Matveev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitriy Matveev updated HARMONY-4556:
-------------------------------------

    Attachment: createGlyphVector.patch

This patch realized not the best way for finding chars which correspond to input glyph indices. The best way is doing this on native level, but WinGDI haven't got an instrument for that and creation of separately function, which will parse 'cmap' table and will find chars for glyph codes, needs very significant changes in the current code's structure. 

> [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4556
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitriy Matveev
>         Attachments: createGlyphVector.patch
>
>
> Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) of class Font is not implemented for current font library.

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


[jira] Updated: (HARMONY-4556) [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko updated HARMONY-4556:
-------------------------------------

    Description: Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) of class Font is not implemented for current font library.  (was: Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented of class Font is not implemented for current font library.)

> [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4556
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Dmitriy Matveev
>
> Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) of class Font is not implemented for current font library.

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


[jira] Closed: (HARMONY-4556) [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov closed HARMONY-4556.
------------------------------------


Issue closed.

> [classlib][awt] Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) is not implemented
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4556
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitriy Matveev
>            Assignee: Alexei Zakharov
>         Attachments: createGlyphVector.patch
>
>
> Method createGlyphVector(FontRenderContext frc, int[] glyphCodes) of class Font is not implemented for current font library.

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