poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52516] New: Wrong font displayed in ppt
Date Tue, 24 Jan 2012 14:28:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52516

             Bug #: 52516
           Summary: Wrong font displayed in ppt
           Product: POI
           Version: 3.8-dev
          Platform: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HSLF
        AssignedTo: dev@poi.apache.org
        ReportedBy: tallstef@hotmail.com
    Classification: Unclassified


Slide slide = slideShow.createSlide();
        TextBox shape = new TextBox();
        RichTextRun rt = shape.getTextRun().getRichTextRuns()[0];
        shape.setHorizontalAlignment(TextBox.AlignLeft);
        rt.setFontName("Times New Roman");
        shape.setText("testingöäåendtesting");
        rt.setFontSize(12);
        shape.setAnchor(new java.awt.Rectangle(495, 375, 210, 115));
        slide.addShape(shape);    

This adds a textbox in a powerpoint slide where"testing" and "endtesting" is in
the font Times New Roman, but the string "öäå" is in the font Arial.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message