JDK-4150078 : No support for CMAP 3,0 (symbol) encoding
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.2.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_2.5.1,windows_nt
  • CPU: generic,x86
  • Submitted: 1998-06-18
  • Updated: 1999-01-19
  • Resolved: 1999-01-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.2.0 1.2fcsFixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Dingbats (symbol), unicode \u2700-\u27be is not displayed.

STEPS: On Win32, JDK1.2 Beta4 "J" 
Compile and run following code on both Beta4 "J" and beta3. Beta4 only displays square.

C:\> java SymbolTest Serif

---- SymbolTest.java

import java.awt.*;
import java.awt.event.*;

public class SymbolTest extends Frame {
    public static void main(String[] args) {
        new SymbolTest(args);
    }

    String[] str;

    SymbolTest(String[] args) {
        super("Test");
        addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e) {
                System.exit(0);
            }
        });
        str = args;
        setSize(300,300);
        show();
    }

    public void paint(Graphics g) {
        Font f = new Font(str[0], Font.PLAIN, 12);
        g.setFont(f);
        g.drawString("\u2708\u2776\u2780", 10, 50);
    }
}

----

[koushi.takahashi@japan 1998-06-18]

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.2fcs FIXED IN: 1.2fcs INTEGRATED IN: 1.2fcs VERIFIED IN: 1.2fcs
14-06-2004

EVALUATION Seems that the problem is CharToByteWingDings and CharToByteX11Dingbats does not have complete tables so the unicode character is being mapped to a glyph index of 0. I assume that since this is CharToByte code, this belongs to I18N. jeannette.hung@Eng 1998-06-24 Actually WingDings has the mapping for this example but DingBats does not. This should be filed as a separate bug on I18N. jeannette.hung@Eng 1998-06-24 cmaps.cpp does not support CMAP 3,0 (symbol) encoding bug introduced when mapper.c was replaced paul.charlton@eng 1998-06-2 partial fix for Win32 ... sherman paul.charlton@eng 1998-09-07 4150078 is fixed on Win32, but not enough on Solaris cindy.jao@eng 1998-09-09 Incorporated part of Alex's fix. This should fix symbols on Solaris. Also changed the font.properties.5.6 to use F3 dingbats so dingbats should show up also. jeannette.hung@Eng 1998-09-14
14-09-1998

PUBLIC COMMENTS cmaps.cpp does not support CMAP 3,0 (symbol) encoding bug introduced when mapper.c was replaced paul.charlton@eng 1998-06-26 partial fix for Win32 ... sherman paul.charlton@eng 1998-09-07
26-06-1998