Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 86998 invoked from network); 24 Aug 2007 15:01:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Aug 2007 15:01:54 -0000 Received: (qmail 74840 invoked by uid 500); 24 Aug 2007 15:01:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 74822 invoked by uid 500); 24 Aug 2007 15:01:50 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 74813 invoked by uid 99); 24 Aug 2007 15:01:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 08:01:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 15:01:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6D295714163 for ; Fri, 24 Aug 2007 08:01:31 -0700 (PDT) Message-ID: <26922873.1187967691444.JavaMail.jira@brutus> Date: Fri, 24 Aug 2007 08:01:31 -0700 (PDT) From: "Dmitriy Matveev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4562) [classlib][awt] Antialliasing is not implemented on Linux In-Reply-To: <31327584.1185785453174.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitriy Matveev updated HARMONY-4562: ------------------------------------- Attachment: LinuxAA.diff > [classlib][awt] Antialliasing is not implemented on Linux > --------------------------------------------------------- > > Key: HARMONY-4562 > URL: https://issues.apache.org/jira/browse/HARMONY-4562 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Dmitriy Matveev > Attachments: LinuxAA.diff > > > Test below shows that we have not antialliasing on Linux: > import java.awt.Font; > import java.awt.Frame; > import java.awt.Graphics; > import java.awt.Graphics2D; > import java.awt.RenderingHints; > import java.awt.event.WindowAdapter; > import java.awt.event.WindowEvent; > public class AATest { > private static final String fontFamily = "Arial"; > public static void main(String[] args) { > final Font font = new Font(fontFamily, Font.PLAIN, 300); > Frame f = new Frame(fontFamily) { > public void paint(Graphics g) { > Graphics2D g2d = (Graphics2D) g; > g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, > RenderingHints.VALUE_ANTIALIAS_ON); > g2d.setFont(font); > g2d.drawString("Test", 10, 550); > } > }; > f.setBounds(0, 0, 800, 600); > f.setVisible(true); > f.addWindowListener(new WindowAdapter() { > public void windowClosing(WindowEvent ev) { > System.exit(0); > } > }); > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.