Skip to content

Latest commit

 

History

History
77 lines (47 loc) · 4.59 KB

README.md

File metadata and controls

77 lines (47 loc) · 4.59 KB

Windows ci Linux ci Macos ci CodeFactor License GitHub tag (latest SemVer) GitHub All Releases GitHub stars GitHub forks Gitee stars Gitee forks

TTFviewer

🇺🇸 English | 🇨🇳 简体中文

TTFviewer is a small tool for developers to view and preview various ttf font/icon image formats. It is based on Qt, and some of the code comes from the project: https://github.com/donbright/font_to_svg and https://github.com/QQxiaoming/YUVviewer , supports windows/linux/macos, the interface is simple and clear, and the operation is portable. The main interface is as follows:

img0

Feature

  1. Select parameters on the main interface.
  2. Click Open File or Folder to parse the image data and display the image.
  3. Used in the image display interface
    • Scroll wheel to zoom in and out of the image,
    • Use the left button to drag the image,
    • Double click the left button to save the image as svg format,
    • Right click to reset image size and position,
    • Middle click to display the original size of the image.

codepoint parameters

The following legal inputs exist for the codepoint parameter:

  1. Enter a single character, and ttfviewer will display the image corresponding to the character's unicode in the target ttf file. Example:

    img11img10

    img31img30

    img51img50

  2. Enter a hexadecimal unicode code value starting with 0x or 0X, and ttfviewer will display the image corresponding to the unicode code value in the target ttf file. Example:

    img21img20

    img41img40

    img61img60

  3. Enter the wildcard *, at this time ttfviewer will search for all image displays in the target ttf file (may consume more system memory), click left and right to switch browsing. Example:

    img74

    img70img71img72img73

  4. Enter double wildcards *, then ttfviewer will display the wildcard itself (ie: 0x2a) corresponding to the image in the target ttf file. Example:

    img81img80

Format

Currently supported formats include:

ttf\ttf_verbose

Build

 > Build documentation

Contributing

If you have suggestions or ideas for this project, please submit issues and pull requests on GitHub or Gitee.

At present, the project has been completely migrated to Qt6 development, it is recommended to use version Qt6.5.0 or higher.