PAG官网 | PAG动效

PAG官网 | PAG动效

  • 首页
  • 产品
  • 功能
  • 文档
  • 案例
  • CN
  • GitHub
  • 论坛交流
  • 免费下载
  • Languages iconEN
    • CN

›移动端进阶

了解 PAG

  • Introduction
  • FAQs

快速开始

  • Install PAGViewer
  • Install PAGExporter
  • Export PAG Files
  • SDK Integration

导出插件

  • Use Configuration Panel
  • Use Exporting Panel
  • Export BMP Compositions
  • Config Fill Modes
  • Config Time Stretch Modes
  • Exporting Shortcut Keys
  • Error Code
  • Auto Detection Rules
  • Text Editing Rules
  • Add Text Background
  • Export Audio
  • Manually Install PAGExporter

预览工具

  • Preview Replacements
  • View File Structure
  • Preview Shortcut Keys
  • Export Image Sequence
  • File Encryption
  • Add Watermark
  • Upgrade to Beta Version

性能优化

  • Use Performance Panel
  • PAG File Optimization

移动端进阶

  • Common API Overview
  • Use PAGImageView
  • Video Replacement
  • Play Audio
  • Text Layer Description
  • Use Encripted File
  • Export To Video
  • SDK Authentication

Web 进阶

  • SDK Installation
  • Load PAG File
  • Play PAG File
  • Platform Capabilities
  • Use WebWorker

API 参考

  • API Document

视频教程

  • PAG Workflow
  • File Optimization Best Practices
  • Use PAGExporter Panel
  • PAG Online Q&A

资源下载

  • PAGViewer Installer
  • PAG Test Files
  • PAG Demo Projects
  • China LiveVideoStackCon2022
  • PAG Conversion Tool
  • PAG File Format Spec

TAVMedia

  • Introduction to TAVMedia
  • TAVMedia Quick access
  • Common API Overview

其他

  • From Lottie To PAG
  • PAG Dictionary

Text Layer Description

Text Editor

At the level of animation design, PAG mainly exists as an animation template. After designers have created the animation in AE, they can export the PAG files. Developers can dynamically edit the text or replace the placeholder images during use. If a function similar to a text editor is required, as PAG aligns with AE, it is recommended to use text components on each platform for implementation.

Language Adaptation

At the level of language adaptation, PAG only supports languages that are typesetting from left to right. For languages that are arranged from right to left, such as Arabic, PAG currently does not support it. A compromise is to display the typesetting of text through system controls, take a screenshot of the text display content, and use it in the PAG by filling placeholder images.

Text Font Display:

Font files are not included in the PAG file because of their large size, but the display of text content depends on font files.

If a specific font needs to be displayed, regardless of which platform, font registration is required. Please refer to the relevant methods of PAGFont for related interfaces of font registration. The RegisterFont method is used to register fonts, and SetFallbackFontPaths is used to set the font fallback list. When the font of the input text cannot be matched, the font in the fallback list will be used.

On Android, iOS, macOS and Windows platforms, we have internally registered some system fonts as fallback fonts. So even if there are no registered fonts, text fonts that do not match can still be fallback to some system fonts. However, there is no logic to register the default font as a fallback font on the Linux platform, so the text cannot be displayed normally without registering a font.

Since the desktop preview tool PAGViewer does not provide the function of injecting external fonts, the display effect may not be consistent with that in AE if the font in the PAG file is set with a special font. However, this does not affect the use of the terminal. The terminal can achieve the same effect as in AE by injecting fonts.

← Play AudioUse Encripted File →
Address: Tencent Binhai Building, No. 33 Haitian Second Road, Nanshan District, Shenzhen, Guangdong Province, China.
TEL: 0755-86013388
QQ Group: 893379574
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
Privacy Policy
公司地址:广东省深圳市南山区海天二路33号腾讯滨海大厦
联系电话:0755-86013388
QQ群:893379574
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
隐私政策
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
Address: Tencent Binhai Building, No. 33 Haitian Second Road, Nanshan District, Shenzhen, Guangdong Province, China.
TEL: 0755-86013388
QQ Group: 893379574
Privacy Policy
Copyright © 2018 - 2025 Tencent. All Rights Reserved.
公司地址:广东省深圳市南山区海天二路33号腾讯滨海大厦
联系电话:0755-86013388
QQ群:893379574
隐私政策