Search found 1218 matches

by Maël
17 May 2020 08:36
Forum: Feature and Enhancement Requests
Topic: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)
Replies: 62
Views: 16895

Re: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)

from https://docs.microsoft.com/en-us/typography/opentype/spec/ttochap1#text-processing-with-opentype-layout-fonts Text processing with OpenType Layout fonts A text-processing client follows a standard process to convert the string of characters entered by a user into positioned glyphs. To produce t...
by Maël
13 May 2020 09:46
Forum: Feature and Enhancement Requests
Topic: Data inspector: round floats to precision/significant digits
Replies: 7
Views: 2048

Re: Data inspector: round floats to precision/significant digits

Thanks to Rick Regan from exploringbinary.com, who wrote a very useful article on converting decimal strings to floating point numbers (with the best possible accuracy) , I have a better understanding how this process works in principle, using BigIntegers. He also kindly pointed me to an article fro...
by Maël
12 May 2020 08:39
Forum: Feature and Enhancement Requests
Topic: Data inspector: round floats to precision/significant digits
Replies: 7
Views: 2048

Re: Data inspector: round floats to precision/significant digits

clang 10 supports float80 on x86-64 (not sure if Win64, too, or just Linux):
https://godbolt.org/z/_edvbT
by Maël
12 May 2020 07:38
Forum: Bug Reports
Topic: Datainspector: byte $C0 in Int8 row (in hexadecimal number mode) should not display as ffffffc0
Replies: 2
Views: 3308

Re: Datainspector: byte $C0 in Int8 row (in hexadecimal number mode) should not display as ffffffc0

Make sure this matches with IntToBase/IntToOffsetBase handling of negative values, i.e., both the data inspector hex value display and the former functions should give the same results, for consistency. This is still left to be done. From the experience gained through https://github.com/maelh/hxd-p...
by Maël
11 May 2020 23:37
Forum: Feature and Enhancement Requests
Topic: Japanese encoding support (EUC-JP and SHIFT-JIS)
Replies: 1
Views: 362

Re: Japanese encoding support (EUC-JP and SHIFT-JIS)

Thanks for filing the bug, as mentioned this can be implemented once Unicode rendering / editing is fully supported: https://forum.mh-nexus.de/viewtopic.php?f=4&t=1004
by Maël
11 May 2020 22:46
Forum: Bug Reports
Topic: Can't search for 64-bit integer
Replies: 2
Views: 428

Re: Can't search for 64-bit integer

Fixed in the development version. The search uses the same code as the datainspector now to convert from text to an integer. It supports also (U)Int24 integer types, includes (U)Int24 types in its search, if you choose "any" bitwidth, and searches for both signed or unsigned numbers. The latter is p...
by Maël
11 May 2020 20:25
Forum: Bug Reports
Topic: Can't search for 64-bit integer
Replies: 2
Views: 428

Re: Can't search for 64-bit integer

Thanks for the bug report. The first is a bug, the second is expected since it searches for signed integers. It should be extendable to search for both, signed integers and unsigned integers, without having to specify the signedness, due to how two's complement encoding works. However with the cavea...
by Maël
11 May 2020 10:35
Forum: Feature and Enhancement Requests
Topic: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)
Replies: 62
Views: 16895

Re: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)

Subdividing a sequence of codepoints into clusters and lines/paragraphs From https://docs.microsoft.com/en-us/windows/win32/intl/displaying-text-with-uniscribe The breakdown of an item into ranges is somewhat arbitrary, although a range should consist of one or more consecutive script-defined, indi...
by Maël
11 May 2020 09:23
Forum: Feature and Enhancement Requests
Topic: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)
Replies: 62
Views: 16895

Re: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)

https://docs.microsoft.com/en-us/windows/win32/api/usp10/nf-usp10-scriptshapeopentype If the eScript member of SCRIPT_ANALYSIS is set to SCRIPT_UNDEFINED, shaping is disabled. In this case, ScriptShapeOpenType displays the glyph that is in the font cmap table . If no glyph is in the table, the funct...
by Maël
11 May 2020 08:33
Forum: Feature and Enhancement Requests
Topic: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)
Replies: 62
Views: 16895

Re: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)

Terminal emulators have similar requirements to code editors or hex editors (from http://behdad.org/text/ ): Terminal emulators with support for complex text are very weird hybrids. On the one hand terminal emulators have to lay text out in a predefined grid in a predefined way, which is in conflict...
by Maël
11 May 2020 07:01
Forum: Feature and Enhancement Requests
Topic: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)
Replies: 62
Views: 16895

Re: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)

General Uniscribe terminology and concepts From https://docs.microsoft.com/de-de/windows/win32/intl/displaying-text-with-uniscribe Then the application shapes the code points for each range into glyphs, which it can subsequently position and render. That means ScriptShape or shaping is the translat...
by Maël
11 May 2020 06:26
Forum: Feature and Enhancement Requests
Topic: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)
Replies: 62
Views: 16895

Re: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)

Glyph positioning For TrueType 1.0 gpos_fig4c[1].gif For OpenType: From https://docs.microsoft.com/en-us/typography/opentype/spec/gpos#positioning-glyphs-with-opentype X and Y values specified in OpenType fonts for placement operations are always within the typical Cartesian coordinate system (orig...
by Maël
10 May 2020 08:06
Forum: Feature and Enhancement Requests
Topic: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)
Replies: 62
Views: 16895

Re: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)

From https://docs.microsoft.com/en-us/typography/opentype/spec/hmtx In a font with TrueType outlines, xMin and xMax values for each glyph are given in the 'glyf' table. The advance width (“aw”) and left side bearing (“lsb”) can be derived from the glyph “phantom points”, which are computed by the Tr...
by Maël
10 May 2020 04:31
Forum: Feature and Enhancement Requests
Topic: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)
Replies: 62
Views: 16895

Re: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)

Useful tools (each of them have different info, or present it better in some way, in order of usefulness for obtaining detailed glyph info): DTL OTMaster 3.7 Light for viewing glyph properties and TTF/OTF tables. SIL ViewGlyph Type light 3.2 BabelPad FontForge BirdFont is really slow MS VOLT does no...