[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: [OpenJDK 2D-Dev] Request for review : FreeType embedded in OSX packages
From: henri.gomez () gmail ! com (Henri Gomez)
Date: 2012-10-17 18:27:04
Message-ID: CALyUpY3m_mv48S3suOP=-_gPN-Jv2T9NRdRb1QaN+OXf13VzzA () mail ! gmail ! com
[Download RAW message or body]
2012/10/17 Phil Race <philip.race at oracle.com>:
> I filed : (JDK-8001065) [macosx] OpenJDK on OS X should use bundled
> freetype, not one from the system
>
> Sample code is just
>
> import java.awt.Font;
> public class CreateFont {
>
> public static void main(String args[]) throws Exception {
> Font f = Font.createFont(Font|.TYPE1_FONT, new
> java.io.File("mytype1font.pfa"));
> }
> }
>
>
> You can get a font from |||
> <http://docs.oracle.com/javase/6/docs/api/java/awt/Font.html#TYPE1_FONT>any
> of a gazillion places .. there'll be plenty
> on almost any Linux you have handy.
I tried with a .pfb file, from http://www.ctan.org/tex-archive/fonts/
and its works with Java 7u9, OpenJDK 7 and OpenJDK 8.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic