/* font-manager-fsType.h * * Copyright (C) 2009-2022 Jerry Casiano * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. * * If not, see . */ #pragma once #include #include #include /** * FontManagerfsType: * @FONT_MANAGER_FSTYPE_INSTALLABLE: * Installable embedding * @FONT_MANAGER_FSTYPE_RESTRICTED_LICENSE: * Use prohibited without permission * @FONT_MANAGER_FSTYPE_PREVIEW_AND_PRINT: * Temporary read only access allowed. * @FONT_MANAGER_FSTYPE_EDITABLE: * Temporary read/write access allowed * @FONT_MANAGER_FSTYPE_PREVIEW_AND_PRINT_NO_SUBSET: * Same as @PREVIEW_AND_PRINT with an additional restriction on subsetting * @FONT_MANAGER_FSTYPE_EDITABLE_NO_SUBSET: * Same as @EDITABLE with an additional restriction on subsetting * @FONT_MANAGER_FSTYPE_PREVIEW_AND_PRINT_BITMAP_ONLY: * Same as @PREVIEW_AND_PRINT but only bitmaps can be embeeded * @FONT_MANAGER_FSTYPE_EDITABLE_BITMAP_ONLY: * Same as @EDITABLE but only bitmaps can be embeeded * @FONT_MANAGER_FSTYPE_PREVIEW_AND_PRINT_NO_SUBSET_BITMAP_ONLY: * Same as @PREVIEW_AND_PRINT but only bitmaps can be embeeded and no subsetting is allowed * @FONT_MANAGER_FSTYPE_EDITABLE_NO_SUBSET_BITMAP_ONLY: * Same as @EDITABLE but only bitmaps can be embeeded and no subsetting is allowed */ typedef enum { FONT_MANAGER_FSTYPE_INSTALLABLE = 0, FONT_MANAGER_FSTYPE_RESTRICTED_LICENSE = 2, FONT_MANAGER_FSTYPE_PREVIEW_AND_PRINT = 4, FONT_MANAGER_FSTYPE_EDITABLE = 8, FONT_MANAGER_FSTYPE_PREVIEW_AND_PRINT_NO_SUBSET = 20, FONT_MANAGER_FSTYPE_EDITABLE_NO_SUBSET = 24, FONT_MANAGER_FSTYPE_PREVIEW_AND_PRINT_BITMAP_ONLY = 36, FONT_MANAGER_FSTYPE_EDITABLE_BITMAP_ONLY = 40, FONT_MANAGER_FSTYPE_PREVIEW_AND_PRINT_NO_SUBSET_BITMAP_ONLY = 52, FONT_MANAGER_FSTYPE_EDITABLE_NO_SUBSET_BITMAP_ONLY = 56 } FontManagerfsType; GType font_manager_fsType_get_type (void); #define FONT_MANAGER_TYPE_FSTYPE (font_manager_fsType_get_type ()) const gchar * font_manager_fsType_to_string (gint fstype);