Aspose::Pdf::Text::IFontSubstitutionRegistrator::RegistrySubstitution method

IFontSubstitutionRegistrator::RegistrySubstitution(System::SharedPtr<Aspose::Font::Sources::FontDefinition>, System::SharedPtr<Aspose::Font::Sources::FontDefinition>) method

Registrera substitution för teckensnitt som representeras via FontDefinition-objekt. Denna metod lades till på grund av behovet att registrera "implicita" substitutioner som har plats i PdfFont-objekt.

virtual void Aspose::Pdf::Text::IFontSubstitutionRegistrator::RegistrySubstitution(System::SharedPtr<Aspose::Font::Sources::FontDefinition> oldFontDef, System::SharedPtr<Aspose::Font::Sources::FontDefinition> newFontDef)=0
ParameterTypBeskrivning
oldFontDefSystem::SharedPtr<Aspose::Font::Sources::FontDefinition>Font definition för originaltypsnitt
newFontDefSystem::SharedPtr<Aspose::Font::Sources::FontDefinition>Font definition för nytt typsnitt

Se även

IFontSubstitutionRegistrator::RegistrySubstitution(System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont>, System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont>, System::SharedPtr<Engine::Data::ITrailerable>) method

Registrera substitution för överförda teckensnitt. Teckensnitt överförs som IPdfFont-objekt i denna metod.

virtual void Aspose::Pdf::Text::IFontSubstitutionRegistrator::RegistrySubstitution(System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont> oldFont, System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont> newFont, System::SharedPtr<Engine::Data::ITrailerable> trailerable)=0
ParameterTypBeskrivning
oldFontSystem::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont>originalt typsnitt
newFontSystem::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont>nytt typsnitt som ersätter ett originaltypsnitt
trailerableSystem::SharedPtr<Engine::Data::ITrailerable>trailerable

Se även