mirror of
https://github.com/alacritty/alacritty.git
synced 2025-11-06 22:44:18 -05:00
parent
466f95d3ba
commit
92ea355eee
1 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ use std::rc::Rc;
|
|||
use freetype::tt_os2::TrueTypeOS2Table;
|
||||
use freetype::{self, Library, Matrix};
|
||||
use freetype::{freetype_sys, Face as FTFace};
|
||||
use libc::c_uint;
|
||||
use libc::{c_long, c_uint};
|
||||
use log::{debug, trace};
|
||||
|
||||
pub mod fc;
|
||||
|
|
@ -89,8 +89,8 @@ fn to_freetype_26_6(f: f32) -> isize {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
fn to_fixedpoint_16_6(f: f64) -> i64 {
|
||||
(f * 65536.0) as i64
|
||||
fn to_fixedpoint_16_6(f: f64) -> c_long {
|
||||
(f * 65536.0) as c_long
|
||||
}
|
||||
|
||||
impl Rasterize for FreeTypeRasterizer {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue