Skip to content

refactor: minor changes on Freetype layer - #3489

Merged
ice0 merged 4 commits into
synfig:masterfrom
rodolforg:minor-changes-freetype-layer
Feb 8, 2025
Merged

ice0 merged 4 commits into
synfig:masterfrom
rodolforg:minor-changes-freetype-layer

Conversation

@rodolforg

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Feb 4, 2025

Copy link
Copy Markdown

Thank you for contributing!
Below is how your contribution will appear in Synfig's release notes. Review it and improve your pull request's title and description so that your contribution is clear. You can add images, videos, and anything else you want. Have fun!

♻️ Code Refactoring

  • Minor changes freetype layer

@rodolforg rodolforg changed the title refactor: minor changes freetype layer refactor: minor changes on Freetype layer Feb 4, 2025
@github-actions

github-actions Bot commented Feb 4, 2025

Copy link
Copy Markdown

Thank you for attempting to improve your contribution description!
Below is how your updated contribution will appear in Synfig's release notes. Review it and make further improvements until you're satisfied!

♻️ Code Refactoring

  • Minor changes on Freetype layer

@ice0

ice0 commented Feb 8, 2025

Copy link
Copy Markdown
Collaborator

Looks good, please rebase.

It was a weird way to do before:

```c++
auto meta_data = new FaceMetaData();
meta_data->path = font_path;
meta_data->add_to_face(face);
```

Now:

```c++
FaceMetaData::add_to_face(face, font_path);
```
@rodolforg
rodolforg force-pushed the minor-changes-freetype-layer branch from 8b2a1a4 to e796332 Compare February 8, 2025 08:13
@ice0
ice0 merged commit 9653c78 into synfig:master Feb 8, 2025
@ice0

ice0 commented Feb 8, 2025

Copy link
Copy Markdown
Collaborator

Merged. Thank you!

@rodolforg
rodolforg deleted the minor-changes-freetype-layer branch February 8, 2025 13:07
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.

2 participants