Skip to content

Comments

several missing symbols#44

Merged
CuriousTommy merged 1 commit intodarlinghq:masterfrom
Lazerbeak12345:apple-fonttools-fixes
May 17, 2025
Merged

several missing symbols#44
CuriousTommy merged 1 commit intodarlinghq:masterfrom
Lazerbeak12345:apple-fonttools-fixes

Conversation

@Lazerbeak12345
Copy link

@Lazerbeak12345 Lazerbeak12345 commented May 15, 2025

taking ownership of #13 , since it's been untouched for a very long time, and I have the resources to get the actual values via darlinghq/darling#1588 (comment).

I've already rebased their branch on master, removed duplicates (symbols already in the master branch) and squashed, but I still need to get the actual values for

  • NSFontFeatureSelectorIdentifierKey should be CTFeatureSelectorIdentifier
  • NSFontFeatureTypeIdentifierKey should be CTFeatureTypeIdentifier
  • kCGFontNameKeyCopyright doesn't seem to exist?
  • kCGFontNameKeyFontFamily doesn't seem to exist?
  • kCGFontNameKeyFontSubfamily doesn't seem to exist?
  • kCGFontNameKeyFullName doesn't seem to exist?
  • kCGFontNameKeyPostScriptName doesn't seem to exist?
  • kCGFontNameKeyPreferredFamily doesn't seem to exist?
  • kCGFontNameKeyPreferredSubfamily doesn't seem to exist?
  • kCGFontNameKeyVersion doesn't seem to exist?

I also need to

  • build this code

but I don't know which apps to test this on.


missing symbols required by MorxTester

fixes darlinghq/darling#801

missing symbols required by fontworker,fontmover,FontRegistryUIAgent

no longer does anything about darlinghq/darling#805

more missing symbols required by MorxTester

more symbols required by fontworker

@Lazerbeak12345
Copy link
Author

Lazerbeak12345 commented May 15, 2025

  • I seem to have messed up both the co-authorship (now fixed, but could be made better)
  • and my local clone of the repo (i'm waiting on a git clone here, so I'm sorta stuck. my wifi is bad enough it usually takes longer to do this than it does to build from source)

@Lazerbeak12345 Lazerbeak12345 force-pushed the apple-fonttools-fixes branch 3 times, most recently from d6aa8bd to 6924cce Compare May 16, 2025 01:30
@Lazerbeak12345 Lazerbeak12345 marked this pull request as ready for review May 16, 2025 01:32
Copy link

@CuriousTommy CuriousTommy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

My only request is to get rid of the kCG... values. Unless there is proof that apps directly use those values, we shouldn't need to worry about implementing private internal values.

@Lazerbeak12345 Lazerbeak12345 marked this pull request as draft May 16, 2025 17:46
@Lazerbeak12345 Lazerbeak12345 force-pushed the apple-fonttools-fixes branch from 6924cce to 319581f Compare May 16, 2025 17:48
@Lazerbeak12345 Lazerbeak12345 marked this pull request as ready for review May 16, 2025 17:50
@Lazerbeak12345
Copy link
Author

darlinghq/darling#805 is solely about those undocumented symbols, and I've marked this PR as no longer fixing them.

Copy link

@CuriousTommy CuriousTommy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit itself is good, I mostly have an issue with the commit message.

This has too much unnecessary details... Some of the messages can be combined into one.

several missing symbols

missing symbols required by MorxTester

fixes https://github.com/darlinghq/darling/issues/801

missing symbols required by fontworker,fontmover,FontRegistryUIAgent

no longer effects https://github.com/darlinghq/darling/issues/805

more missing symbols required by MorxTester

more symbols required by fontworker

remove undocumented symbols

Co-authored-by: Hin-Tak Leung <htl10@users.sourceforge.net>

When you combine commits, it's important to rewrite the commit message. Here is an example of how I would write your commit message:

Implement Missing Symbols Required By MorxTester

Taken from HinTak's original commits. Fixes darlinghq/darling#801

Co-authored-by: Hin-Tak Leung <htl10@users.sourceforge.net>

Taken from HinTak's original commits. Fixes darlinghq/darling#801

Co-authored-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Copy link

@CuriousTommy CuriousTommy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@CuriousTommy CuriousTommy merged commit 71aa7e0 into darlinghq:master May 17, 2025
CuriousTommy added a commit to darlinghq/darling that referenced this pull request May 17, 2025
darlinghq/darling-cocotron#40 | Add some CoreText stub definitions
darlinghq/darling-cocotron#42 | Fix NSWindowTemplate logic not applying to both keyed and unkeyed decoding
darlinghq/darling-cocotron#43 | fix(CoreText): missing kCTFontOpenTypeFeature Key and Value
darlinghq/darling-cocotron#44 | several missing symbols
@Lazerbeak12345
Copy link
Author

@CuriousTommy do you plan on closing #13 ? I think it's been resolved now.

@Lazerbeak12345 Lazerbeak12345 deleted the apple-fonttools-fixes branch May 19, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Symbol not found: _NSFontFeatureSelectorIdentifierKey in AppKit.framework/Versions/C/AppKit

3 participants