pub struct FontProvenance {
pub source_font: String,
pub source_version: String,
pub license: String,
pub attribution: String,
pub renamed: bool,
}Expand description
License and origin metadata for a font atlas derived from an upstream font.
A converted atlas is a modified/derivative work of its source font, so
Reserved-Font-Name rules (OFL 1.1, Bitstream Vera terms) can require a
renamed derivative. These fields let tooling verify compliance mechanically:
the asset-gallery CI gate asserts every shipped .rsf carries provenance
and bundles its license text (RELEASE_PLAN §9.3).
Fields§
§source_font: StringName of the source font this atlas was generated from (e.g. “DejaVu Sans”).
source_version: StringUpstream version of the source font, if known (e.g. “2.37”).
license: StringLicense identifier, SPDX where possible (e.g. “OFL-1.1”, “Bitstream-Vera”).
attribution: StringHuman-readable attribution line, suitable for direct display.
renamed: boolTrue when the atlas uses a non-reserved derivative name per the source license’s Reserved Font Name / renaming rules.
Trait Implementations§
Source§impl Clone for FontProvenance
impl Clone for FontProvenance
Source§fn clone(&self) -> FontProvenance
fn clone(&self) -> FontProvenance
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FontProvenance
impl Debug for FontProvenance
Source§impl Default for FontProvenance
impl Default for FontProvenance
Source§fn default() -> FontProvenance
fn default() -> FontProvenance
Source§impl<'de> Deserialize<'de> for FontProvenance
impl<'de> Deserialize<'de> for FontProvenance
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FontProvenance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FontProvenance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for FontProvenance
Source§impl PartialEq for FontProvenance
impl PartialEq for FontProvenance
Source§fn eq(&self, other: &FontProvenance) -> bool
fn eq(&self, other: &FontProvenance) -> bool
self and other values to be equal, and is used by ==.