Open Bug 2038946 Opened 6 months ago Updated 2 months ago

Create FFI interfaces needed for Fontations

Categories

(Core :: Layout: Text and Fonts, task)

task

Tracking

()

People

(Reporter: jfkthame, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(5 obsolete files)

Figure out what Fontations types we need to expose to Gecko, and how to implement the FFI glue needed.

We'll need to be able to instantiate and work with skrifa::FontRef instances from gfx/thebes code; details to be figured out...

Let's break this out into separate bugs, in the expectation that we'll want to create additional interfaces as needed once gecko integration gets under way, rather than trying to anticipate exactly everything that will be needed.

Depends on: 2056246
Depends on: 2056248
Depends on: 2056251
Depends on: 2056254
Depends on: 2056256

Comment on attachment 9608890 [details]
WIP: Bug 2038946 - Hook up cbindgen to generate C headers for fontations_glue.

Revision D312106 was moved to bug 2056246. Setting attachment 9608890 [details] to obsolete.

Attachment #9608890 - Attachment is obsolete: true

Comment on attachment 9608891 [details]
WIP: Bug 2038946 - Provide functions to create and delete skrifa font refs from C++ code.

Revision D312107 was moved to bug 2056246. Setting attachment 9608891 [details] to obsolete.

Attachment #9608891 - Attachment is obsolete: true
Depends on: 2056266

Comment on attachment 9608894 [details]
WIP: Bug 2038946 - Provide a function to map unicode codepoint to glyph id.

Revision D312108 was moved to bug 2056248. Setting attachment 9608894 [details] to obsolete.

Attachment #9608894 - Attachment is obsolete: true

Comment on attachment 9608895 [details]
WIP: Bug 2038946 - Add a type & function to retrieve font table data by tag.

Revision D312109 was moved to bug 2056251. Setting attachment 9608895 [details] to obsolete.

Attachment #9608895 - Attachment is obsolete: true

Comment on attachment 9608896 [details]
WIP: Bug 2038946 - Provide a function to retrieve names from Skrifa font refs.

Revision D312110 was moved to bug 2056254. Setting attachment 9608896 [details] to obsolete.

Attachment #9608896 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: