roll back bundling of harfbuzz
This will likely break travis; I'll follow up with something to help with that. Refs: https://github.com/wez/wezterm/issues/1
This commit is contained in:
1 parent
4a66bf98ca
commit
9673c8c1b7
6 files changed
+9
-12
No files matched your search
+1
-3
@@ -9,6 +9,7 @@ euclid = "0.17.0"
|
||||
failure = "0.1.1"
|
||||
gl = "0.10.0"
|
||||
glium = "0.20.0"
|
||||
harfbuzz-sys = "0.1.15"
|
||||
libc = "0.2.36"
|
||||
mio = "0.6.12"
|
||||
palette = "0.2.1"
|
||||
@@ -17,9 +18,6 @@ serde_derive = "1.0.27"
|
||||
toml = "0.4.5"
|
||||
unicode-width = "0.1.4"
|
||||
|
||||
[dependencies.harfbuzz]
|
||||
path = "harfbuzz"
|
||||
|
||||
[dependencies.term]
|
||||
path = "term"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ use failure::{self, Error};
|
||||
use font::{shape_with_harfbuzz, FallbackIdx, Font, FontMetrics, FontSystem, GlyphInfo, NamedFont,
|
||||
RasterizedGlyph};
|
||||
use font::{fcwrap, ftwrap};
|
||||
use harfbuzz;
|
||||
use super::hbwrap as harfbuzz;
|
||||
use std::cell::RefCell;
|
||||
use std::mem;
|
||||
use std::slice;
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
//! Higher level harfbuzz bindings
|
||||
|
||||
#[macro_use]
|
||||
extern crate failure;
|
||||
#[cfg(any(target_os = "android", all(unix, not(target_os = "macos"))))]
|
||||
extern crate freetype;
|
||||
use freetype;
|
||||
|
||||
pub mod sys;
|
||||
pub use sys::*;
|
||||
use harfbuzz_sys as harfbuzz;
|
||||
pub use self::harfbuzz::*;
|
||||
|
||||
use failure::Error;
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
use failure::Error;
|
||||
use harfbuzz;
|
||||
mod hbwrap;
|
||||
use self::hbwrap as harfbuzz;
|
||||
|
||||
use std::cell::RefCell;
|
||||
use std::collections::HashMap;
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
use super::super::config::{Config, TextStyle};
|
||||
use failure::Error;
|
||||
use harfbuzz;
|
||||
use super::hbwrap as harfbuzz;
|
||||
use unicode_width::UnicodeWidthStr;
|
||||
|
||||
/// A bitmap representation of a glyph.
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ extern crate freetype;
|
||||
extern crate gl;
|
||||
#[macro_use]
|
||||
extern crate glium;
|
||||
extern crate harfbuzz;
|
||||
extern crate harfbuzz_sys;
|
||||
extern crate libc;
|
||||
extern crate mio;
|
||||
extern crate palette;
|
||||
|
||||
Reference in new issue
Block a user