diff options
author | Joe Wilm <joe@jwilm.com> | 2016-06-29 20:56:12 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-06-29 20:59:14 -0700 |
commit | c8fd2c090c4732fb44d0d4250a2aa1b6722fde76 (patch) | |
tree | 567b21507b54b035e5edb8938fc18fa823cb2b4a /font | |
parent | a445ae92a87fdf679747a2f308e69a734399f506 (diff) | |
download | alacritty-c8fd2c090c4732fb44d0d4250a2aa1b6722fde76.tar.gz alacritty-c8fd2c090c4732fb44d0d4250a2aa1b6722fde76.zip |
Add license headers to source files
Diffstat (limited to 'font')
-rw-r--r-- | font/src/darwin/byte_order.rs | 14 | ||||
-rw-r--r-- | font/src/darwin/cg_color.rs | 13 | ||||
-rw-r--r-- | font/src/darwin/mod.rs | 14 | ||||
-rw-r--r-- | font/src/ft/list_fonts.rs | 14 | ||||
-rw-r--r-- | font/src/ft/mod.rs | 14 | ||||
-rw-r--r-- | font/src/lib.rs | 14 |
6 files changed, 83 insertions, 0 deletions
diff --git a/font/src/darwin/byte_order.rs b/font/src/darwin/byte_order.rs index 5b696554..29efb5b1 100644 --- a/font/src/darwin/byte_order.rs +++ b/font/src/darwin/byte_order.rs @@ -1,3 +1,17 @@ +// Copyright 2016 Joe Wilm, The Alacritty Project Contributors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// //! Constants for bitmap byte order #![allow(non_upper_case_globals)] pub const kCGBitmapByteOrder32Little: u32 = 2 << 12; diff --git a/font/src/darwin/cg_color.rs b/font/src/darwin/cg_color.rs index 552137cc..79ea0863 100644 --- a/font/src/darwin/cg_color.rs +++ b/font/src/darwin/cg_color.rs @@ -1,3 +1,16 @@ +// Copyright 2016 Joe Wilm, The Alacritty Project Contributors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. use core_foundation::base::{CFRelease, CFRetain, CFTypeID, CFTypeRef, TCFType}; use core_graphics::color_space::{CGColorSpace, CGColorSpaceRef}; use core_graphics::base::CGFloat; diff --git a/font/src/darwin/mod.rs b/font/src/darwin/mod.rs index 5e53abd5..6d006e63 100644 --- a/font/src/darwin/mod.rs +++ b/font/src/darwin/mod.rs @@ -1,3 +1,17 @@ +// Copyright 2016 Joe Wilm, The Alacritty Project Contributors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// //! Font rendering based on CoreText //! //! TODO error handling... just search for unwrap. diff --git a/font/src/ft/list_fonts.rs b/font/src/ft/list_fonts.rs index f171f57e..c9eccec7 100644 --- a/font/src/ft/list_fonts.rs +++ b/font/src/ft/list_fonts.rs @@ -1,3 +1,17 @@ +// Copyright 2016 Joe Wilm, The Alacritty Project Contributors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// use std::collections::HashMap; use std::ffi::{CStr, CString}; use std::fmt; diff --git a/font/src/ft/mod.rs b/font/src/ft/mod.rs index f288cda5..024d33f6 100644 --- a/font/src/ft/mod.rs +++ b/font/src/ft/mod.rs @@ -1,3 +1,17 @@ +// Copyright 2016 Joe Wilm, The Alacritty Project Contributors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// //! Rasterization powered by FreeType and FontConfig use std::collections::HashMap; diff --git a/font/src/lib.rs b/font/src/lib.rs index bd485ff0..a42020d8 100644 --- a/font/src/lib.rs +++ b/font/src/lib.rs @@ -1,3 +1,17 @@ +// Copyright 2016 Joe Wilm, The Alacritty Project Contributors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// //! Compatibility layer for different font engines //! //! This module is developed as part of Alacritty; Alacritty does not include Windows support |