Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit 18acb4f

Browse files
author
bors-servo
authored
Auto merge of #85 - algesten:font_smooth, r=jdm
Font smooth <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-graphics-rs/85) <!-- Reviewable:end -->
2 parents 558451d + 2aaf2d2 commit 18acb4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "core-graphics"
33
description = "Bindings to Core Graphics for OS X"
44
homepage = "https://github.com/servo/core-graphics-rs"
55
repository = "https://github.com/servo/core-graphics-rs"
6-
version = "0.8.0"
6+
version = "0.8.1"
77
authors = ["The Servo Project Developers"]
88
license = "MIT / Apache-2.0"
99

src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ impl CGContext {
146146
}
147147
}
148148

149-
fn set_font_smoothing_style(&self, style: i32) {
149+
pub fn set_font_smoothing_style(&self, style: i32) {
150150
unsafe {
151151
CGContextSetFontSmoothingStyle(self.as_concrete_TypeRef(), style as _);
152152
}

0 commit comments

Comments
 (0)