[Fontconfig-bugs] [Bug 100935] Provide means to store the font returned

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 5 22:01:15 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100935

--- Comment #5 from William L. Thomson Jr. <wlt-ml at o-sinc.com> ---
Maybe better suited for mailing list. What I thinking of as a feature
enhancement to fontconfig would be something as such.

Binary name maybe
fc-current

Program A requests Sans font
fc-match Sans
DejaVuSans.ttf: "DejaVu Sans" "Book"

It an env/temp file, fontconfig stores
A:DejaVu Sans

Or something like that, and other programs.
A:DejaVu Sans
B:Noto Sans
C:DejaVu Sans Mono

Then if something else wants to see what fonts any of those programs, A, B, C
is using, they can call
fc-current A

Which would return output like fc-match, but from the previously returned
value. It may even be used by fc-match on subsequent requests from same program
for same font.

Hope that makes more sense.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20170505/4bd23d0e/attachment.html>


More information about the Fontconfig-bugs mailing list