是否可以在Rebol Graphics VID中获取Font的反别名?

时间:2010-05-24 07:52:46

标签: rebol

Anti-alias适用于Draw但是我看不出如何获得字体的反别名:是否有可能(包括黑客rebol vid ......)因为下面生成的图片中的字体不好:

alt text http://reboltutorial.com/files/2010/05/create-free-banner.png

view layout [
    box 278x185 effect [ ; default box face size is 100x100
      draw [
        anti-alias on
        ; information for the next draw element (not required)
        line-width 2.5 ; number of pixels in width of the border
        pen black      ; color of the edge of the next draw element

        fill-pen radial 100x50 5 55 5 10 10 71.0.6 30.10.10 71.0.6

        ; the draw element
        box     ; another box drawn as an effect
          15     ; size of rounding in pixels
          0x0 ; upper left corner
          278x170 ; lower right corner
      ]
    ]
    pad 30x-150
    Text "Experiment" font [name: "Impact" size: 24 color: white]
    image http://www.rebol.com/graphics/reb-logo.gif
]

1 个答案:

答案 0 :(得分:1)

您想使用AGG字体......

http://www.compkarori.com/vanilla/display/AGG

在Windows中,您只需使用字体名称。