DoAllocateResources - calls inherited method then calls GetReference.
Source position: graphics.pp line 556
protected procedure TFont.DoAllocateResources; override;