gpt4 book ai didi

linux - 使用Eclipse IDE和Linux Redhat的C语言中的Unicode,ttf、utf和字符集之间的关系

转载 作者:太空宇宙 更新时间:2023-11-04 04:02:41 24 4
gpt4 key购买 nike

I am new to c , but i tried to compile unicode in c and worked with a sample program to print kannada text, it is working fine . But in my project i need to use fribidi 0.19.6.

I do not have idea on character set and utf and ttf font. If I want to use kannada font in > linux what should i do . which ttf download package should i download for kannada fonts? I have idea on character set and my doubt all about ttf and utf only

Thanks in advance

最佳答案

使用现代 opentype 智能字体操作 unicode 文本,特别是在像卡纳达语这样的 CJK 领域,是一个非常复杂的问题。它涉及许多库,包括 fribidi(但不仅如此)。

http://behdad.org/text/

我强烈建议使用像 pango 或 harfbuzz-ng 这样的高级库,而不是尝试从下到上重新实现支持。 Pango 将为您管理 fribidi 和字体堆栈的其他部分。许多非常聪明的人多年来一直在努力写出这些内容,但它们还并不完美。在任何合理的时间内,你不可能独自做得更好,尤其是当你甚至不理解基本概念时。

关于linux - 使用Eclipse IDE和Linux Redhat的C语言中的Unicode,ttf、utf和字符集之间的关系,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22437284/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com