Skip to content

GitLab

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Menu
    Projects Groups Snippets
  • Get a free trial
  • Sign up
  • Login
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,084
    • Issues 2,084
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #21828
Closed
Open
Created Apr 21, 2012 by FPC Admin account@fpc_adminOwner

GetFontData doesn't work on GTK

Original Reporter info from Mantis: Dibo
  • Reporter name: Krzysztof Dibowski

Description:

Hi,

Most of controls (or canvas) have font name "default". There is
"GetFontData" function but it doesn't work on GTK (I can't test it on GTK for now, but some other user confirm that, he have latest lazarus 1.1 from SVN with GTK2 and FPC 2.6.0). I have QT widgetset and it work. Some other user confirmed that it work on windows too, so problem is only on GTK where this function is returning "default" instead of original font name. Demo attached.
BTW: Compiler is warning me that Handle is deprecated.

Regards

Additional information:

Lazarus 1.1 from SVN, GTK2
FPC 2.6.0

Mantis conversion info:

  • Mantis ID: 21828
  • Version: 1.1 (SVN)
  • Fixed in revision: 36967 (#92224c77)
Assignee
Assign to
Time tracking