Tabs normally work as if you split the line and position it independently, as if the portions of the line separated by tabs are set in columns. For example, a string: "Hello\tWorld\n\Bye\tEarth" would be rendered in two lines in such way that "Bye" starts under "Hello" and "Earth" starts under "World". There are no "tab glyphs" that would solve that for you and I don't think FreeType provides tab handling out of the box, so this needs to be handled outside of FreeType. Also, there is no standard for the width of the tab, so you need to make up one for you.
A. On 20 Jul 2014, at 17:11, Michael IV <[email protected]> wrote: > Hi All.I can't understand how I convert tab (backslash t) to glyph numerics. > I mean,if I have "Hello\tWorld" string ,how many spaces should I insert > between > "Hello" and "World" ? > > > > _______________________________________________ > Freetype mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/freetype _______________________________________________ Freetype mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype
