Opened 11 years ago
Closed 11 years ago
#2975 closed Feature Request (No Bug)
_WinAPI_GetFontResourceInfo return only the first 31 characters from font name
| Reported by: | ffdshow | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
I started to rename some fonts using their name retrieved by _WinAPI_GetFontResourceInfo function. The function returns only the first 31 characters (from the left to the right as I saw when I opened several fonts in Notepad2) and removed the space characters from names. Double clicking on fonts in Windows 8.1, seems to reveal the names with space characters included, but it's incomplete too.
I opened several fonts in Notepad2 and in generally, the font name is on the left of the word 'version'.
This is not a bug report, it's rather a feature request for a complete name of fonts.
Thanks!
Attachments (0)
Change History (6)
comment:1 by , 11 years ago
| Version: | 3.3.12.0 |
|---|
comment:3 by , 11 years ago
The question is what is the undocumented or perhaps a documented one that can do the job
You may notice that this UDF is using an undocumented API ...
comment:4 by , 11 years ago
Checking again I don't see your problem as I can list such font
Just run the example from the help file
I get "Copperplate Gothic Bold Condensed BT" from COPGOTBC.TTF Under Windows8.1
comment:5 by , 11 years ago
It looks like I did a mistake. I downloaded COPGOTBC.TTF, because I didn't have it installed in Windows 8.1 and run the script, which return the full name of the font (37 characters). The problem was that all fonts I have don't have spaces in their internal full names and that gave me doubts regarding _WinAPI_GetFontResourceInfo function.
Thanks!
comment:6 by , 11 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |

Automatic ticket cleanup.