Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FontSample compiles but outputs nothing MacOS 11.2.2, cinder 0.9.2) #2247

Open
gusev-genotek opened this issue Jun 5, 2021 · 0 comments
Open

Comments

@gusev-genotek
Copy link

Errors thrown in the draw() method:

2021-06-05 21:30:46.110949+0300 FontSample[12315:548770] [org.libcinder.FontSample] CGContextClipToRect: invalid context 0x0. Backtrace:
  <-[RendererImpl2dMacQuartz startDraw]+486>
   <_ZN6cinder3app10Renderer2d9startDrawEv+33>
    <-[CinderViewMac drawRect:]+187>
     <-[CinderViewMac draw]+180>
      <-[AppImplMac timerFired:]+923>
       <__NSFireTimer+67>
        <__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__+20>
         <__CFRunLoopDoTimer+922>
          <__CFRunLoopDoTimers+307>
           <__CFRunLoopRun+2008>
            <CFRunLoopRunSpecific+563>
             <RunCurrentEventLoopInMode+292>
              <ReceiveNextEventCommon+709>
               <_BlockUntilNextEventMatchingListInModeWithFilter+64>
                <_DPSNextEvent+883>
                 <-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+1366>
                  <-[NSApplication run]+586>
                   <_ZN6cinder3app6AppMac6launchEv+59>
                    <_ZN6cinder3app7AppBase13executeLaunchEv+73>
                     <_ZN6cinder3app6AppMac4mainI13fontSampleAppEEvRKNSt3__110shared_ptrINS0_8RendererEEEPKciPKPcRKNS4_8functio
                      <main+187>
                       <start+1>                               3
2021-06-05 21:30:46.112599+0300 FontSample[12315:548770] [org.libcinder.FontSample] CGContextGetCTM: invalid context 0x0. Backtrace:
  <CGContextGetCTM+51>
   <-[RendererImpl2dMacQuartz startDraw]+513>
    <_ZN6cinder3app10Renderer2d9startDrawEv+33>
     <-[CinderViewMac drawRect:]+187>
      <-[CinderViewMac draw]+180>
       <-[AppImplMac timerFired:]+923>
        <__NSFireTimer+67>
         <__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__+20>
          <__CFRunLoopDoTimer+922>
           <__CFRunLoopDoTimers+307>
            <__CFRunLoopRun+2008>
             <CFRunLoopRunSpecific+563>
              <RunCurrentEventLoopInMode+292>
               <ReceiveNextEventCommon+709>
                <_BlockUntilNextEventMatchingListInModeWithFilter+64>
                 <_DPSNextEvent+883>
                  <-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+1366>
                   <-[NSApplication run]+586>
                    <_ZN6cinder3app6AppMac6launchEv+59>
                     <_ZN6cinder3app7AppBase13executeLaunchEv+73>
                      <_ZN6cinder3app6AppMac4mainI13fontSampleAppEEvRKNSt3__110shared_ptrINS0_8RendererEEEPKciPKPcRKNS4_8functi
                       <main+187>
                        <start+1>                                3
2021-06-05 21:30:46.114077+0300 FontSample[12315:548770] [org.libcinder.FontSample] CGContextConcatCTM: invalid context 0x0. Backtrace:
  <-[RendererImpl2dMacQuartz startDraw]+774>
   <_ZN6cinder3app10Renderer2d9startDrawEv+33>
    <-[CinderViewMac drawRect:]+187>
     <-[CinderViewMac draw]+180>
      <-[AppImplMac timerFired:]+923>
       <__NSFireTimer+67>
        <__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__+20>
         <__CFRunLoopDoTimer+922>
          <__CFRunLoopDoTimers+307>
           <__CFRunLoopRun+2008>
            <CFRunLoopRunSpecific+563>
             <RunCurrentEventLoopInMode+292>
              <ReceiveNextEventCommon+709>
               <_BlockUntilNextEventMatchingListInModeWithFilter+64>
                <_DPSNextEvent+883>
                 <-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+1366>
                  <-[NSApplication run]+586>
                   <_ZN6cinder3app6AppMac6launchEv+59>
                    <_ZN6cinder3app7AppBase13executeLaunchEv+73>
                     <_ZN6cinder3app6AppMac4mainI13fontSampleAppEEvRKNSt3__110shared_ptrINS0_8RendererEEEPKciPKPcRKNS4_8functio
                      <main+187>
                       <start+1>                               3
(lldb) 
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

No branches or pull requests

1 participant