Relicense MIT OR Apache 2.0

This commit is contained in:
Jeremy Soller 2022-10-24 08:56:48 -06:00
parent 91ab1c489e
commit 564dab009c
26 changed files with 284 additions and 374 deletions

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
use std::{
cmp,
fmt,

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub struct CacheKey {
pub font_id: fontdb::ID,

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
use unicode_script::Script;
// Fallbacks to use after any script specific fallbacks

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
use unicode_script::Script;
use super::Font;

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
use unicode_script::Script;
// Fallbacks to use after any script specific fallbacks

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
use unicode_script::Script;
// Fallbacks to use after any script specific fallbacks

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
use unicode_script::Script;
// Fallbacks to use after any script specific fallbacks

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
use std::{collections::HashMap, sync::Mutex};
use super::{CacheKey, CacheItem};

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
use super::{CacheKey, Font};
pub struct FontLayoutGlyph<'a> {

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
use unicode_script::{Script, UnicodeScript};
use super::{Font, FontShapeGlyph, FontShapeLine, FontShapeSpan, FontShapeWord};

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pub(crate) mod fallback;
pub(crate) use self::cache::*;

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
use super::{CacheKey, Font, FontLayoutGlyph, FontLayoutLine};
pub struct FontShapeGlyph<'a> {

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
use std::ops::Deref;
use super::{Font, FontMatches};

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pub use self::buffer::*;
mod buffer;