WebFontBuilder

ภาพรวม

WebFontBuilder เป็นคลาสใน Aspose.Font FOSS สําหรับ Python.

WebFontBuilder สามารถสร้างครอบครัววอฟนต์เว็บที่ครบถ้วน พร้อม CSS, หน้า HTML มองหน้าและไฟล์ manifest ที่พร้อมใช้งาน.

หมวดนี้ให้ 6 วิธีในการทํางานกับวัตถุ WebFontBuilder ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: build, build_family_matrix_preview, build_family_package, build_family_review_board, build_family_review_export_package, build_family_waterfall_preview. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python.

วิธีการ

Signatureคําอธิบาย
build_family_waterfall_preview(bundles: list[WebFontBundle], preview_text: str, file_stem: str)PreviewImageสร้างภาพลักษณะน้ําตกแบบการดูดก่อนสําหรับบานเล่มเว็บที่ให้ โดยใช้ข้อความและไฟล์ต้นของรูปแบบท่องแว่น
build_family_matrix_preview(bundles: list[WebFontBundle], preview_text: str, file_stem: str)PreviewImageสร้างภาพการดูแบบแผนเมทริกซ์ก่อนหน้า สําหรับบานเล่มเว็บที่นํามาพร้อมกับข้อความและไฟล์ตัวต้นในการดูครั้งแรกที่กําหนดไว้
`build_family_review_board(bundles: list[WebFontBundle], family_name: strNone, preview_text: str, file_stem: str)PreviewImage`
`build_family_review_export_package(bundles: list[WebFontBundle], family_name: strNone, preview_text: str, file_stem: str)FamilyReviewExportPackage`
`build_family_package(bundles: list[WebFontBundle], family_name: strNone, css_filename: str, html_filename: str, preview_text: str, specimen_template: str)WebFontFamilyPackage`
`build(font: Font, file_stem: strNone, include_woff: bool, font_display: str, preview_text: str, instance_coordinates: dict[str, float]

ดูเช่นกัน

 ภาษาไทย