mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 05:37:04 +00:00
font-store: doc links to InstalledFamily
This commit is contained in:
@@ -103,7 +103,7 @@ impl FontStore {
|
||||
/// Whether the user keeps store fonts in Craft apps only by default. Off by default: the font
|
||||
/// manager then copies each family it installs into the OS user font folder
|
||||
/// ([`FontStore::make_available`]), so other apps can use it, unless the user chose otherwise
|
||||
/// for that family ([`InstalledFamily::available_to_all`]).
|
||||
/// for that family ([`crate::InstalledFamily::available_to_all`]).
|
||||
pub fn craft_apps_only(&self) -> bool {
|
||||
self.settings().craft_apps_only
|
||||
}
|
||||
@@ -117,7 +117,7 @@ impl FontStore {
|
||||
self.change_settings(|s| s.craft_apps_only = on)
|
||||
}
|
||||
|
||||
/// Records the user's choice for the installed family ([`InstalledFamily::available_to_all`]).
|
||||
/// Records the user's choice for the installed family ([`crate::InstalledFamily::available_to_all`]).
|
||||
/// It only records it: the caller copies or withdraws the family. [`Error::NotAllowed`] for an
|
||||
/// agent, [`Error::NotInstalled`] for a family that isn't installed.
|
||||
pub fn set_available_to_all_choice(&self, source: &str, name: &str, on: bool) -> Result<(), Error> {
|
||||
|
||||
Reference in New Issue
Block a user